?
avatar AdityaTaware
AdityaTaware
2 Nov 2019

Steps to reproduce the issue

  1. Edit any menu.
  2. Remove Unique Name and click save.
  3. Now add the existing name again and click on the Save button.
  4. Observe the error message.

Expected result

The system should not raise error message if user adding an existing names for the screen shot 2019-11-02 at 12 22 32same record.

Actual result

System information (as much as possible)

Additional comments

avatar AdityaTaware AdityaTaware - open - 2 Nov 2019
avatar joomla-cms-bot joomla-cms-bot - labeled - 2 Nov 2019
avatar AdityaTaware AdityaTaware - change - 2 Nov 2019
Title
Menus -> Edit menu - Getting error message for 'Menu type exists'.
[4.0]Menus -> Edit menu - Getting error message for 'Menu type exists'.#pbf19 #bug
avatar AdityaTaware AdityaTaware - edited - 2 Nov 2019
avatar astridx
astridx - comment - 2 Nov 2019

I can confirm this on Ubuntu and Firefox
Menus  Add   test   Administration(1)

avatar infograf768
infograf768 - comment - 3 Nov 2019

What happens here is that when saving the menu again after deleting the Unique Name, the $recordId is lost ( it equals 0) and the menu is considered as a new menu.
Then as the id is different from the one already recorded, it throws the error.
Not sure we can do anything about it.

avatar joomla-cms-bot joomla-cms-bot - change - 24 Feb 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-02-24 09:15:07
Closed_By joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 24 Feb 2020
avatar SharkyKZ SharkyKZ - change - 24 Feb 2020
Closed_By joomla-cms-bot SharkyKZ
avatar joomla-cms-bot
joomla-cms-bot - comment - 24 Feb 2020

Set to "closed" on behalf of @SharkyKZ by The JTracker Application at issues.joomla.org/joomla-cms/26947

avatar SharkyKZ
SharkyKZ - comment - 24 Feb 2020

Please test PR #28053.


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

Add a Comment

Login with GitHub to post a comment