No Code Attached Yet bug
avatar wwwiiimmm
wwwiiimmm
6 Oct 2022

When rearranging the order of items the new possition is not always saved.

Tests so far:

  • Joomla 4.2.3
  • in the menu-items list, (filtered) articles list and featured articles list.
  • in Safari and Firefox
  • multiple people, different computers
  • on localhost and servers of 2 different hosts
  • clean Joomla + sample data

Steps to reproduce the issue

  1. In the backend go to any/a listpage (menu-items, featured articles with multiple items
  2. Drag&drop up/down an item to rearrange it
  3. Check frontend if item has moved
  4. Repeat

Note: this issue may not happen all the time or on the first move.
You may need to repeat it.

Expected result

Items are in the correct order.

Actual result

When it happens it looks good in the BE, but when checking the FE nothing happened.
Refreshing the BE you'll notice the order is set back to what it was before you changed it.

System information (as much as possible)

Joomla 4.2.3
PHP 8.0
Localhost/servers(Linux)/different webhosts

avatar wwwiiimmm wwwiiimmm - open - 6 Oct 2022
avatar wwwiiimmm wwwiiimmm - change - 6 Oct 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 6 Oct 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 6 Oct 2022
avatar HLeithner
HLeithner - comment - 9 Oct 2022

@Fedik any chance you have a look at this?

avatar Fedik
Fedik - comment - 9 Oct 2022

Yeah, I can confirm the bug, after some time JS sends wrong order position.

Better way to reproduce:
Open sample data menus list for Top menu.
Drag "Fruit Shop" to:
3-d position, check frontend - position should change,
then drag to 5-th position, check froned - position stays 3-rd
Important: do not refresh the menu list page.

Need to debug what actualy going on, something does not clear the state.

avatar Fedik Fedik - change - 9 Oct 2022
Labels Added: bug
avatar Fedik Fedik - labeled - 9 Oct 2022
avatar Fedik
Fedik - comment - 9 Oct 2022

Current work around: always reload the list page, after sorting changed.

avatar Fedik Fedik - close - 11 Oct 2022
avatar Fedik
Fedik - comment - 11 Oct 2022

Please test the fix #38935

avatar Fedik Fedik - change - 11 Oct 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-10-11 14:15:48
Closed_By Fedik

Add a Comment

Login with GitHub to post a comment