Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
when I have single options in workflow state. I am not able to see the widget. When I check the code, if option is more than one then only widget is getting show.
Is there any specific reason to hide?
Comment | File | Size | Author |
---|---|---|---|
#3 | Create Basic page STD HAndover PSHC.png | 13.52 KB | vipul tulse |
#2 | show-widget-2948377-2.patch | 584 bytes | saranya ashokkumar |
Comments
Comment #2
saranya ashokkumar CreditAttribution: saranya ashokkumar at UniMity Solutions Pvt Limited commentedComment #3
vipul tulse CreditAttribution: vipul tulse at Clarion Technologies commentedHello,
In case of workflow have a single state the created node directly in the first default state creation (Author) than it moved to the first state.
Then why we need to show the widget because we cannot move the workflow return to creation(author state), I don't think so we need the widget here.
Comment #4
vipul tulse CreditAttribution: vipul tulse at Clarion Technologies commentedComment #5
vipul tulse CreditAttribution: vipul tulse at Clarion Technologies commentedIn case the above comment is not valid.
The patch is tested by applying which will display the widget to node add page.
Comment #6
estoyausenteI don't understand the issue. When we only have one state, the workflow state is created correctly or no? I mean, the issue description is changed and I'm don't know if the problem is that the widget is hidden (I think that is not a bug) or the problem is that the status is not created because the widget is hidden.
I'm not sure if my explanation is comprehensible.
Comment #7
saranya ashokkumar CreditAttribution: saranya ashokkumar at UniMity Solutions Pvt Limited commentedComment #8
saranya ashokkumar CreditAttribution: saranya ashokkumar at UniMity Solutions Pvt Limited commentedUpdated the issue summary.
Comment #9
johnvTo have a short answer to your question: If there is only 1 option, you cannot set any values.
Indeed, You may set a comment without changing the state.
Also, you may have additional fields in the Workflow box.
So this option is still under investigation. See also other issues in the Queue, that relate to the same request.
Comment #10
ChrisZZ CreditAttribution: ChrisZZ commentedActually a very valuable reason to have the widget is, e.g. for and application flow the button would be "Apply now" or submit which can be nicely controlled with workflow and transition lables. But not having this breaks this idea totally. I think it must always be shown.
regards
Comment #11
ChrisZZ CreditAttribution: ChrisZZ commentedThe patch does not work for action buttons so - will switch back to save instead of transition label...
Comment #12
johnv