? Success

User tests: Successful: Unsuccessful:

avatar pe7er
pe7er
18 May 2015

This PR adds new pre-selection feature in the edit form of the Module Manager: The form fields Status, Position, Language and Access Level are pre-selected on basis of the [Search Tools] Set Filters in the Module Manager. Similar PR as #6966, #6973 & #6976.

Test instructions

Test in Module Manager: Modules if the selected [Search Tools] > **Filters (Status, Position, Language and Access Level) are pre-selected in the form when creating a New Module instance.

Module Manager: Modules

Back-end > Extensions > Module Manager > [Search Tools] > select (Status, Position, Language and Access Level).

screen shot 2015-05-18 at 06 06 27

Create new Module, e.g. Banner Module and check if the parameters on the left are "pre-selected".

screen shot 2015-05-18 at 06 06 27

Create new Module, e.g. Custom HTML Module and check if the parameters on the left are "pre-selected".

screen shot 2015-05-18 at 06 06 27

avatar pe7er pe7er - open - 18 May 2015
avatar zero-24 zero-24 - change - 18 May 2015
Labels Added: ?
avatar pe7er pe7er - change - 18 May 2015
The description was changed
avatar zero-24 zero-24 - change - 18 May 2015
Status New Pending
Easy No Yes
avatar zero-24 zero-24 - change - 18 May 2015
Category Administration UI/UX
avatar sovainfo sovainfo - test_item - 18 May 2015 - Tested successfully
avatar sovainfo
sovainfo - comment - 18 May 2015

Oops, missed the warning! There is no need for the condition, it is already there.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar pe7er
pe7er - comment - 18 May 2015

@sovainfo Sorry, I do not understand your comment.
What warning did you miss? What condition is not needed?
Did I implement something that was already there?

avatar sovainfo
sovainfo - comment - 18 May 2015

You added 1 condition which results in a warning because $this->getItem doesn't exists (no attribute getItem for $this). See the statement above which makes your if obsolete. There it is used as $this->getItem() which is a function instead of an attribute. The function works. Adding the code without the if also works, so just remove the if.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 May 2015

@test ok with Type CustomHTML & Menu; all Filters "Status, Position, Access Level, Language" are set in new Module.

avatar zero-24 zero-24 - alter_testresult - 19 May 2015 - franz-wohlkoenig: Tested successfully
avatar zero-24
zero-24 - comment - 19 May 2015

Thanks but lets wait for @pe7er to comment on #6977 (comment)


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar sovainfo
sovainfo - comment - 19 May 2015

Obviously it is required to set error_reporting to 'maximum' for the warning to appear!

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 May 2015

@sovainfo: Right, got "Undefined property: ModulesModelModule::$getItem in /Joomla/administrator/components/com_modules/models/module.php on line 596" after set Error-Reporting on Maximum.

avatar pe7er
pe7er - comment - 19 May 2015

I've corrected the issue with if ($this->getItem == 0)
Thank you @sovainfo & @franz-wohlkoenig for testing & improvements!

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 19 May 2015

@test ok with Error-Reporting on Maximum. Fine tuning.

avatar JoshuaLewis
JoshuaLewis - comment - 20 May 2015

Awesome PR. :smiley:


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar zero-24
zero-24 - comment - 20 May 2015

@JoshuaLewis can we count you as test and RTC than?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar JoshuaLewis JoshuaLewis - test_item - 20 May 2015 - Tested successfully
avatar JoshuaLewis
JoshuaLewis - comment - 20 May 2015

Yes, I have tested it with success. Placed in successful test vote above. Should be RTC now.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar zero-24 zero-24 - change - 20 May 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 20 May 2015

Great RTC'ing now!


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6977.

avatar zero-24 zero-24 - change - 20 May 2015
Labels Added: ?
avatar Kubik-Rubik
Kubik-Rubik - comment - 21 May 2015

Merged. Thank you @pe7er!

avatar Kubik-Rubik Kubik-Rubik - change - 21 May 2015
Milestone Added:
avatar zero-24 zero-24 - close - 21 May 2015
avatar Kubik-Rubik Kubik-Rubik - change - 21 May 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-05-21 11:46:11
Closed_By Kubik-Rubik
avatar Kubik-Rubik Kubik-Rubik - close - 21 May 2015
avatar Kubik-Rubik Kubik-Rubik - close - 21 May 2015
avatar infograf768
infograf768 - comment - 29 May 2015

This has caused a regression:
see
#7056

avatar infograf768
infograf768 - comment - 29 May 2015

See PR:
#7058

avatar pe7er
pe7er - comment - 30 May 2015

Thanks for correcting! @infograf768

avatar johanjanssens johanjanssens - reference | a8f2b41 - 19 Jun 15
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?
avatar pe7er pe7er - head_ref_deleted - 5 Nov 2015

Add a Comment

Login with GitHub to post a comment