No Code Attached Yet
avatar muhme
muhme
25 Jul 2025

Steps to reproduce the issue

  • As admin create an article with three versions, set featured.
  • As different user with Publisher group, on Frontend, edit the article and try to restore the first version.

Expected result

  • First article version is restored (as it is working for second version).

Actual result

  • Error message: Column 'ordering' cannot be null and first article version is not restored.

System information (as much as possible)

New installed 5.3.3-dev

Additional comments

Found in testing #45616, but exists already before this PR

avatar muhme muhme - open - 25 Jul 2025
avatar joomla-cms-bot joomla-cms-bot - change - 25 Jul 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Jul 2025
avatar travisrisner
travisrisner - comment - 25 Jul 2025

It appears the root of this issue might be that when the first instance of an article is stored in the history table the ordering value is null for all newly created articles. I can recreate this by just creating a new article, looking at the json in the history table and seeing that the value is set to null

avatar richard67 richard67 - change - 25 Jul 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-07-25 18:26:20
Closed_By richard67
avatar richard67 richard67 - close - 25 Jul 2025
avatar richard67
richard67 - comment - 25 Jul 2025

Closing as having a pull request. Please test #45783 . Thanks in advance.

Add a Comment

Login with GitHub to post a comment