? ? Failure

User tests: Successful: Unsuccessful:

avatar izharaazmi
izharaazmi
19 Jan 2017

Pull Request for Issue #13632.

Summary of Changes

Show menu and menu items for batch target for batch operation based on relevant client id only.

Testing Instructions

Perform batch operations move/copy on backend custom menu items and front-end menu items. Both should work. Frontend menu items should not show when working with backend menu items and vice versa.

Documentation Changes Required

None

avatar izharaazmi izharaazmi - open - 19 Jan 2017
avatar zero-24
zero-24 - comment - 19 Jan 2017

@izharaazmi it looks like there are unit test fails? Can you take a look? https://travis-ci.org/joomla/joomla-cms/jobs/193448159

avatar zero-24 zero-24 - change - 19 Jan 2017
Milestone Added:
avatar nikosdion
nikosdion - comment - 25 Jan 2017

I have successfully tested this PR. I just can't seem to convince the Joomla Issue Tracker to let me register a successful test...

I was able to move several items at once between different menu levels (top level and first sub-menu level).

I can also confirm that I now only see the administrator menus when I'm trying to move administrator menu items.

avatar infograf768
infograf768 - comment - 25 Jan 2017

@nikosdion
see discussion here
#13739 (comment)
and following, which, once implemented as new PR, shall solve the main UI issue.

avatar izharaazmi
izharaazmi - comment - 25 Jan 2017

@infograf768 This one is a different case and not related to the other discussion. Batch move/copy etc issue raised by @nikosdion #13632 is being fixed here. So we can accept his test result here.

About the other discussion, I'll work on it.

avatar izharaazmi
izharaazmi - comment - 25 Jan 2017

@zero-24 The travis failure says "No such column client_id". I think there is some problem with database mock in the tests.

avatar mbabker mbabker - alter_testresult - 25 Jan 2017 - nikosdion: Tested successfully
avatar joomla-cms-bot joomla-cms-bot - change - 25 Jan 2017
Category Administration com_menus Libraries Unit Tests
avatar izharaazmi izharaazmi - change - 3 Feb 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Feb 2017
Category Administration com_menus Libraries Unit Tests Administration com_menus Libraries
avatar izharaazmi
izharaazmi - comment - 3 Feb 2017

@rdeutz @infograf768 Looks like we missed this one.

avatar infograf768
infograf768 - comment - 3 Feb 2017

@izharaazmi
Will look at it today. I also have some other stuff to look at.

avatar infograf768
infograf768 - comment - 3 Feb 2017

@izharaazmi
Batch process of admin menus should not propose language as well as access, which can't be set anyway for these menu items.
As I noted here:
#13884
these can be added in 4.0 if someone find a correct way to use these in the admin UI (out of scope imho for the 3.x series.

For now, access can be defined by the menu module itself:
Example: One can create an Access Level of type AdminFrench and define that access level for a specific custom User group which uses French language in back-end.

avatar infograf768
infograf768 - comment - 3 Feb 2017

It is rather easy to implement by just checking client id.

screen shot 2017-02-03 at 08 50 20

avatar izharaazmi izharaazmi - change - 3 Feb 2017
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Feb 2017
Category Administration com_menus Libraries Administration com_menus Language & Strings Libraries
avatar izharaazmi
izharaazmi - comment - 3 Feb 2017

Filter by trashed and client id = 1 was another thing of concern. Updated.
:)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Feb 2017

I have tested this item successfully on 4bb965d


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 3 Feb 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 3 Feb 2017

I have tested this item successfully on 4bb965d


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

avatar infograf768 infograf768 - test_item - 3 Feb 2017 - Tested successfully
avatar infograf768 infograf768 - change - 3 Feb 2017
Status New Ready to Commit
avatar infograf768
infograf768 - comment - 3 Feb 2017

RTC. Thanks


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

avatar rdeutz rdeutz - change - 3 Feb 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-02-03 10:40:25
Closed_By rdeutz
Labels Added: ?
Removed: ?
avatar rdeutz rdeutz - close - 3 Feb 2017
avatar rdeutz rdeutz - merge - 3 Feb 2017

Add a Comment

Login with GitHub to post a comment