? Failure

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
5 Dec 2016

Summary of Changes

Improve parameter loading to have real default values.

Testing Instructions

It's a bit hard to test. You have to load the com_menus/models/fields/modal/menu.php field in your xml or took an existing one like: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_menus/models/forms/item_alias.xml

After that you have to play with the parameters:

select="true"
new="true"
edit="true"
clear="true"

at the end all the old combinations should still work + if you remove this four parameters it should be the same as:

select="true"
new="false"
edit="false"
clear="true"
avatar bembelimen bembelimen - open - 5 Dec 2016
avatar bembelimen bembelimen - change - 5 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 5 Dec 2016
Category Administration com_menus
avatar infograf768
infograf768 - comment - 5 Dec 2016

@andrepereiradasilva
The field was improved in #11916
can you have a look?

avatar coolcat-creations
coolcat-creations - comment - 9 Dec 2016

I have tested this item successfully on 68c539e

Works like described


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

avatar coolcat-creations coolcat-creations - test_item - 9 Dec 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 10 Dec 2016

@bembelimen i think this is the right approach, but IMHO we need to do the same for all modal fields. (article, newsfeed, contact, category, and weblink).

Also we should add some ACL check at least for core.create.

But of course this would be another PRs,

avatar bembelimen
bembelimen - comment - 14 Dec 2016

@andrepereiradasilva Yes, you're right, that would be the next step I think.

avatar anibalsanchez
anibalsanchez - comment - 18 Dec 2016

I have tested this item successfully on 68c539e

Test OK


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

avatar anibalsanchez anibalsanchez - test_item - 18 Dec 2016 - Tested successfully
avatar bembelimen
bembelimen - comment - 19 Dec 2016
avatar rdeutz rdeutz - change - 6 Feb 2017
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-06 08:02:17
Closed_By rdeutz
avatar rdeutz rdeutz - close - 6 Feb 2017
avatar rdeutz rdeutz - merge - 6 Feb 2017

Add a Comment

Login with GitHub to post a comment