? ?
avatar infograf768
infograf768
11 Aug 2018

Steps to reproduce the issue

Create a new Article.
As there is no Status field before Save, the default depends on the workflow settings.

Normally, for example ( #21535 ), save2copy will save as Unpublished which would mean we have to set the default Workflow state to Unpublished.
(Note: save2copy is also used in Multilingual Associations componebt in the side by side window.)

The consequence is that we can't Save and Close directly a new article. One has always to re-edit the article after a Save.

Expected result

Actual result

System information (as much as possible)

Additional comments

avatar infograf768 infograf768 - open - 11 Aug 2018
avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2018
Labels Added: J4 Issue ? ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Aug 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Aug 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 11 Aug 2018
Category com_workflow
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Aug 2018
Title
[4.0] [WORKFLOW] Status field does not display before Save
[4.0] [Workflow] Status field does not display before Save
Build staging 4.0-dev
avatar joomla-cms-bot joomla-cms-bot - edited - 19 Aug 2018
avatar brianteeman
brianteeman - comment - 22 Aug 2018

I agree. I don't see the value of it not being present until saved. It should be present and show the available options for that user.

The "difficulty" and I suspect the reason why it isn't there is that the workflow is dependent on the category selected so how do we know what to show here before it is saved. However this has already been solved by com_fields so shouldn't be a problem.

avatar chmst
chmst - comment - 7 Sep 2018

I agree that is is confusing if there is nothing to see.
Maybe show the stage field disabled with a hint "Please select a category"?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/21547.
avatar infograf768
infograf768 - comment - 7 Sep 2018

And how would you know the specific workflow of a category if no AJAX magic here?

avatar chmst
chmst - comment - 7 Sep 2018

Not without a list of categories and workflows/states.
But to make it simple: The hint could say "stage can be changed after save". So at least it would be less confusing.

avatar brianteeman
brianteeman - comment - 7 Sep 2018

I definitely prefer the ajax solution although we do have something similar to @chmst solution in the menus

image

avatar infograf768
infograf768 - comment - 7 Sep 2018

After save IS the issue. It means we never can use Save & Close with workflow.

avatar bembelimen
bembelimen - comment - 17 Feb 2019

See: #23458

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2019
Labels Removed: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 4 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 5 Apr 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 5 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Apr 2019
Title
[4.0] [Workflow] Status field does not display before Save
[4.0] Status field does not display before Save
avatar franz-wohlkoenig franz-wohlkoenig - edited - 19 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 20 Apr 2019
Labels Added: ?
Removed: J4 Issue ?
avatar franz-wohlkoenig franz-wohlkoenig - unlabeled - 20 Apr 2019
avatar brianteeman
brianteeman - comment - 6 May 2019

This should be closed as fixed elsewhere

avatar joomla-cms-bot joomla-cms-bot - change - 7 May 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-05-07 00:22:41
Closed_By joomla-cms-bot
avatar Quy Quy - change - 7 May 2019
Closed_By joomla-cms-bot Quy
avatar joomla-cms-bot joomla-cms-bot - close - 7 May 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 7 May 2019

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

Add a Comment

Login with GitHub to post a comment