? ? Pending

User tests: Successful: Unsuccessful:

avatar tonypartridge
tonypartridge
3 Jun 2017

Fixes merging off session data when using two tabs with two separate menu items.

Pull Request for Issue #12222 .

Summary of Changes

Setting conditions for if the item id is null and also if the itemid is equal to that of reloaded item.

This pull request fixes all but 1 scenario which IMHO cannot be solved. You cannot create two new menu items at the same time and reload each expecting it to loading the session data. Unless you were to start tagging unique session stores per browser instance. But it is very unlikely you would be creating two new menu items simultaneously and refreshing one of them before save.

Testing Instructions

Without patch,open up two menu items, on menu item 1 change the Menu Item Type say from article to article list, DO NOT SAVE. Refresh menu item 2 and it will load menu item 1's data.

Expected result

To refresh the page instance it's own data.

Actual result

it loads the previous menu items data from session

avatar tonypartridge tonypartridge - open - 3 Jun 2017
avatar tonypartridge tonypartridge - change - 3 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Category Administration com_menus
avatar carcam
carcam - comment - 3 Jun 2017

I have tested this item successfully on 6c1ac32


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

avatar carcam carcam - test_item - 3 Jun 2017 - Tested successfully
avatar matrikular
matrikular - comment - 3 Jun 2017

I have tested this item successfully on 6c1ac32


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

avatar matrikular matrikular - test_item - 3 Jun 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Jun 2017
Status Pending Ready to Commit
avatar joomla-cms-bot joomla-cms-bot - edited - 4 Jun 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 4 Jun 2017

RTC after two successful tests.

avatar rdeutz rdeutz - change - 8 Jun 2017
Labels Added: ? ?
avatar rdeutz rdeutz - change - 12 Jun 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-06-12 20:20:20
Closed_By rdeutz
avatar rdeutz rdeutz - close - 12 Jun 2017
avatar rdeutz rdeutz - merge - 12 Jun 2017
avatar tonypartridge
tonypartridge - comment - 13 Jun 2017

Thanks!

Add a Comment

Login with GitHub to post a comment