J4 Issue ?
Referenced as Pull Request for: # 29197
avatar SharkyKZ
SharkyKZ
13 May 2019

Steps to reproduce the issue

Create an article or contact. Add some tags.
Go to item list. Change item state (publish/unpublish) using inline or toolbar button.
View item's core_state value in #__ucm_content table.
Edit the item, view its versions history.

Expected result

core_state value is 1.
Versions entry created.

Actual result

core_state value is 0.
Versions entry not created.

System information (as much as possible)

Current 4.0-dev nightly
PHP 7.2.4

Additional comments

avatar SharkyKZ SharkyKZ - open - 13 May 2019
avatar joomla-cms-bot joomla-cms-bot - change - 13 May 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 13 May 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 13 May 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 13 May 2019
Status New Discussion
avatar richard67
richard67 - comment - 21 May 2019

It seems saving the UCM stuff when publishing an article is not the only thing which works well in the article edit view but doesn't work in the list view, see issue #24972 .

avatar SharkyKZ
SharkyKZ - comment - 22 May 2019

#24972 seems workflow-related.

My issue appears to be caused by Behavior plugins not running on state change. Issue also affects other content types.

avatar SharkyKZ SharkyKZ - change - 22 May 2019
Title
[4.0] UCM state and history not updated when changing article state in list view.
[4.0] UCM state and history not updated when changing item state in list view.
avatar SharkyKZ SharkyKZ - change - 22 May 2019
Title
[4.0] UCM state and history not updated when changing article state in list view.
[4.0] UCM state and history not updated when changing item state in list view.
avatar SharkyKZ SharkyKZ - edited - 22 May 2019
avatar SharkyKZ SharkyKZ - change - 22 May 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 22 May 2019
avatar SharkyKZ SharkyKZ - change - 22 May 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 22 May 2019
avatar brianteeman
brianteeman - comment - 22 May 2019

Yes #24972 is a related issue in that it is all because of the workflow code

avatar SharkyKZ
SharkyKZ - comment - 22 May 2020

Turns out you were right. The state issue is workflow related. See PR #29197.

And history issue exists in J3 too, related to #8244.

avatar SharkyKZ SharkyKZ - change - 22 May 2020
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2020-05-22 15:33:38
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - close - 22 May 2020

Add a Comment

Login with GitHub to post a comment