No Code Attached Yet bug
avatar alve89
alve89
22 Aug 2021

Steps to reproduce the issue

I’m having a workflow with three stages
873B32AF-FB39-4D0F-B252-3CD76252CAEB

and two transitions
FE1C6BE6-C86D-4704-8231-5356036F1777

But in the configuration of the second transition I can’t choose the stage Geprüft - Überarbeitung nötig, probably because the articles status within this stage is Unpublished.
0C94E895-9DE4-4588-B121-5F3923B34A1E

Expected result

After creating a new article and using the stage Neu - zur Prüfung einreichen, which means the article is new and shall be checked, an authorized user (group Publisher) should have two options:
Either the article is approved and can be published, so it is Geprüft - Freigabe, or it has to be corrected, so it is not approved and can’t be published (Geprüft - Überarbeitung nötig).

Actual result

But now you can’t “decline” an article and for example return it in the Writing / Editing department - currently the next step has to be Published (at least a stage with the configured article status Published), which is quite restrictive and doesn’t allow covering possible scenarios.

System information (as much as possible)

Joomla ‎4.0.0-rc1

avatar alve89 alve89 - open - 22 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Aug 2021
avatar alve89 alve89 - change - 22 Aug 2021
Title
Workflows - unpublished stages can’t be selected
Workflows - stages with Unpublished article status can’t be selected
avatar alve89 alve89 - edited - 22 Aug 2021
avatar alve89 alve89 - change - 22 Aug 2021
Title
Workflows - stages with Unpublished article status can’t be selected
Workflows - stages with „unpublished“ article status can’t be selected
avatar alve89 alve89 - edited - 22 Aug 2021
avatar alve89 alve89 - change - 22 Aug 2021
The description was changed
avatar alve89 alve89 - edited - 22 Aug 2021
avatar wilsonge
wilsonge - comment - 22 Aug 2021

Isn't it because the stage itself is unpublished? Rather then the status of the article

avatar bembelimen
bembelimen - comment - 22 Aug 2021

Isn't it because the stage itself is unpublished? Rather then the status of the article

That's the reason, probably we should still offer disabled stages?

avatar brianteeman
brianteeman - comment - 22 Aug 2021

then there would be no point in having enable/disable funtionality

avatar bembelimen
bembelimen - comment - 23 Aug 2021

The transition(s) targeting this stage wouldn't be available then

avatar alve89
alve89 - comment - 23 Aug 2021

Isn't it because the stage itself is unpublished? Rather then the status of the article

You’re right, my bad! As I saw in the video of Joomla Day 19 I thought this would be the link between the articles status and the stages. As that’s obviously wrong - aren’t there the conditions anymore?

avatar bembelimen
bembelimen - comment - 23 Aug 2021

Isn't it because the stage itself is unpublished? Rather then the status of the article

You’re right, my bad! As I saw in the video of Joomla Day 19 I thought this would be the link between the articles status and the stages. As that’s obviously wrong - aren’t there the conditions anymore?

No, this was in the old workflow which was more like a publishing workflow, which means you couldn't manage much more than the publishing states. There were then over the last year a lot of improvements and changes which made the workflow to a real one with much more flexibility and functions.

The conditions are removed and the transitions are now the most important part to set up the changes.

avatar alve89 alve89 - close - 23 Aug 2021
avatar alve89
alve89 - comment - 23 Aug 2021

Alright, then I just misunderstood that. I'll close this issue now because my initial problem is solved. Thank you guys!

avatar alve89 alve89 - change - 23 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-23 06:32:45
Closed_By alve89
avatar alve89 alve89 - change - 23 Aug 2021
Status Closed New
Closed_Date 2021-08-23 06:32:45
Closed_By alve89
avatar alve89 alve89 - reopen - 23 Aug 2021
avatar alve89
alve89 - comment - 23 Aug 2021

Actually I don't find any solution for the following:

User A (author) creates a new article and sets the default stage Zur Prüfung einreichen (he can't choose anything else)
image

Then the article has the default stage. Since no transition was triggered, no notification was sent to any users. How would publishers know that there are new articles without any notification?

avatar chmst
chmst - comment - 23 Aug 2021

This is a valid point. Could you open this as a new issue, please? Then it is easier fur us to maintain.

avatar alve89
alve89 - comment - 23 Aug 2021

@brianteeman I can't see any relation here - did you perhaps mixed up my other issue (#35308) to link it with your #29942?
@chmst I'll do if I'm right with my previous written assumption - just to avoid duplicates. Thanks for your quick reply!

avatar brianteeman
brianteeman - comment - 23 Aug 2021

sorry - removed that comment and put it in the correct place.

avatar bembelimen
bembelimen - comment - 23 Aug 2021

Actually I don't find any solution for the following:

User A (author) creates a new article and sets the default stage Zur Prüfung einreichen (he can't choose anything else)
image

Then the article has the default stage. Since no transition was triggered, no notification was sent to any users. How would publishers know that there are new articles without any notification?

Creating an article is not using the workflow. If the article is created in the frontend, then you can setup the Joomla! plugin to inform admins. If the article is created in the backend, there is no messaging will a transition is executed. (But that didn't change from 3.x...)

avatar Quy Quy - change - 22 Nov 2021
Labels Added: ?
avatar Quy Quy - labeled - 22 Nov 2021
avatar chmst chmst - change - 9 Feb 2022
Labels Removed: ?
avatar chmst chmst - unlabeled - 9 Feb 2022
avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 22 Feb 2023
avatar Hackwar Hackwar - close - 26 Nov 2024
avatar Hackwar
Hackwar - comment - 26 Nov 2024

Since this is expected behavior and not a bug, I'm closing this issue.

avatar Hackwar Hackwar - change - 26 Nov 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-11-26 09:37:09
Closed_By Hackwar

Add a Comment

Login with GitHub to post a comment