? Failure

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
7 Nov 2016

Summary of Changes

The categoryedit field (which actually is the category parent select box) is making an ACL check to the "- No parent -" option to decide whether to show the field or not.
image

This doesn't make much sense. This PR correct that.

Note: it will also be a bit faster since now the ACL check is the last of the condition.

Testing Instructions

Mainbly code review, but you can also:

  1. Apply patch
  2. Check category edit field work as usual

Documentation Changes Required

none.

avatar andrepereiradasilva andrepereiradasilva - open - 7 Nov 2016
avatar andrepereiradasilva andrepereiradasilva - change - 7 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2016
Category Administration Components
avatar andrepereiradasilva andrepereiradasilva - change - 7 Nov 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - change - 7 Nov 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 7 Nov 2016
avatar sanderpotjer
sanderpotjer - comment - 13 Nov 2016

I have tested this item successfully on dfb3f53


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

avatar sanderpotjer sanderpotjer - test_item - 13 Nov 2016 - Tested successfully
avatar joomla-cms-bot joomla-cms-bot - change - 2 Jan 2017
Category Administration Components Administration com_categories Components
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 Jan 2017

I have tested this item successfully on 958fce5


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 12 Jan 2017 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 5 Feb 2017

Article View is broken

image

avatar coolcat-creations
coolcat-creations - comment - 5 Feb 2017

I have tested this item 🔴 unsuccessfully on 958fce5

View is broken, logged in / out, cache is cleared


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

avatar coolcat-creations coolcat-creations - test_item - 5 Feb 2017 - Tested unsuccessfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Feb 2017

confirmed broken view: Fatal error: Class 'JFormAbstractlist' not found in /administrator/components/com_categories/models/fields/categoryedit.php on line 19

avatar zero-24
zero-24 - comment - 5 Feb 2017

@andrepereiradasilva @franz-wohlkoenig @coolcat-creations i have just merged staging is that should fix the issue you reported can you double check that?

avatar coolcat-creations
coolcat-creations - comment - 5 Feb 2017

I have tested this item successfully on 2aed2a7

Tested successfully, also ACL still works for those that are not allowed to create.


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

avatar coolcat-creations coolcat-creations - test_item - 5 Feb 2017 - Tested successfully
avatar zero-24 zero-24 - change - 5 Feb 2017
Milestone Added:
Status Pending Ready to Commit
Labels Added: ?
avatar zero-24
zero-24 - comment - 5 Feb 2017

RTC as the issue was just a not synced branche wich is fixed now. Thanks!


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

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Feb 2017

I have tested this item successfully on 2aed2a7

"New", "Edit" a Article-Category works without Issue.


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 5 Feb 2017 - Tested successfully
avatar zero-24
zero-24 - comment - 5 Feb 2017

Thanks both for retesting 👍

avatar wilsonge wilsonge - change - 5 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-05 22:36:43
Closed_By wilsonge
Labels
avatar wilsonge wilsonge - close - 5 Feb 2017
avatar wilsonge wilsonge - merge - 5 Feb 2017

Add a Comment

Login with GitHub to post a comment