Closed (fixed)
Project:
Workflow
Version:
7.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
13 May 2013 at 09:19 UTC
Updated:
18 Jul 2013 at 23:11 UTC
Jump to comment: Most recent file
After upgrading to the latest version my workflows stopped existing.
The workflows are still defined in the database, but not visible in the GUI.
| Comment | File | Size | Author |
|---|---|---|---|
| #24 | workflow_states.txt | 1.79 KB | audealexandre |
| #24 | workflows.txt | 1.58 KB | audealexandre |
| Screen Shot 2013-05-13 at 11.18.29.png | 12.97 KB | dob_ | |
| Screen Shot 2013-05-13 at 11.18.01.png | 11.9 KB | dob_ |
Comments
Comment #1
egouleau commentedI've just installed the latest version today and i got exactly the same pb :/
Comment #2
nancydruHave you run update.php and cleared the cache?
Comment #3
dob_ commentedYes of course.
Comment #4
nancydruI don't recognize "critical" as a priority in this module.
Comment #5
nancydru7.x-1.0 was before my time. I tried to set up a test, but it converted fine. Can you give me a better description of what you had, please?
Comment #6
nancydruI just set this up again. I created a site with 7.x-1.0 main module and Admin UI and added a workflow (boy, was that old UI ugly!). I set up two nodes and transitioned them. Then I dropped the 7.x-1.x-dev code on top of it and ran update.php. The workflow is still there and functioning correctly.
Did you do anything different from this?
Comment #7
levsoroka commentedI am having similar issue. I have updated from 7.x-1.0 to 7.x-1.1. Running Drupal 7.16.
My workflows were still there but there is a bug on form submit. Exactly on "Save Configurations" while editing or adding new states, May be related to adding new states. I tried few times installing and uninstalling module. Cleared cache and etc thought that may be related to it. But I am still getting "Page not found error". In other words that workflow is being removed at some point.
Comment #8
liquidcms commentedyes, update from 1.0 to 1.1 appears to be busted.
i had 1.0 working fine on a site for while, want to try og_workflow so just upgraded workflow to 1.1. the ui seems to be missing even though the workflow appears to still be here - possibly there is UI for this somewhere i haven't stumbled upon yet?
http://screencast.com/t/oJXeu9o7Z7h
Comment #9
levsoroka commentedIts up top, to the right of add new workflow link, You have it called status. Might be why its hard to distinguish
Comment #10
liquidcms commentedlol.. yup, there it is. thanks.. and looks great!!
Comment #11
nancydruYes, the UI has undergone a lot of change. The workflow names will be at the top of the page. Click on the name and you will see the rest of the stuff - but also broken out. This should actually make more sense than one big page with a confusing plethora of fields.
I do highly recommend the current dev - there are fixes and new features in it. 7.x-1.2 will roll out soon.
Comment #12
nancydru@levsoroka: you haven't changed the name of the "(creation)" state, have you? That is a known problem and the current dev will not allow you to do that.
Comment #13
nancydruNo further update.
Comment #14
audealexandre commentedHi,
I reopen this post because I have exactly the same problem as #7.
"My workflows were still there but there is a bug on form submit. Exactly on "Save Configurations" while editing or adding new states, May be related to adding new states. I tried few times installing and uninstalling module. Cleared cache and etc thought that may be related to it. But I am still getting "Page not found error". In other words that workflow is being removed at some point."
The only thing I have done is adding one new state (unactive) and clic on "save" and then I arrived on the error page and the workflow is not visible anywhere (but still there in the database). The other workflow I didn't modify is still there.
Thanks in advance for your help,
Comment #15
audealexandre commentedSome more info:
The problem seems really related to the adding of a new state: I created a new workflow named "test". Then I added a new state to it and when I clicked "save the configuration", I got the error 404 page, and the workflow disapeared from the UI.
Comment #16
nancydruDid you change the "(creation)" state name?
Comment #17
audealexandre commentedNo, not at all, I just created a new state.
Comment #18
audealexandre commentedAny idea for the resolution of the problem?
Thanks in advance,
Comment #19
nancydruNot at the moment. Are you using the latest dev release?
Comment #20
derekw commentedChange your admin theme and see if they show up. I found that in Rubik the created workflow names were not floated, so they were hidden behind the Content Type mapping table. (If you view the HTML source on the page you'll see they are there.)
Comment #21
audealexandre commentedHi, thanks for answering. I checked the source code of the html page but unfortunetely, the missing workflow ("Edition" is not present. Hereunder the html code, with the other workflow ("reservation-de-salle") still present.
NB: I use the default admin theme.
Comment #22
audealexandre commentedHi,
I installed the latest dev version and the problem doesn't appear anymore (I can create a new state for a workflow). Still, the 2 workflows which were missing are still missing.... any idea of a way I can display them again (a property in the database?) ?
I will do a bit more testing later.
Thanks in advance,
Aude
Comment #23
nancydruCould you dump the workflow_states table for me so I can see what's happened. I don't see how it could happen unless there are no states defined, including "(creation)".
You can also change the query at line 1032 in workflow.module
Change the "INNER JOIN" to "LEFT JOIN" and see what happens. Change it back when you get running again.
Comment #24
audealexandre commentedHi,
Here the table dump (and also the workflow table). Really, all the workflows have a "creation" state. Could the problem be related to the language ? (I didn't change myself the creation state but it is translated in the table).
Unfortunately, changing to LEFT JOIN didn't change anything in the display.
For info:
- I have only activated the following modules:
workflow
workflow UI
workflow rules
workflow views
Should I test with other configurations?
Thanks again,
Comment #25
audealexandre commentedHi, I think I found the problem (but not the cause): in the workflow_state table, the sysid field was at 0 for the creation state of the workflow which didn't appear anymore; for the creation state of the other workflows, it was at 1. So I changed the value in the table from 0 to 1 and the workflow now appears in the interface.
Comment #26
nancydruThat would definitely do it. I'm not happy with the "(creation)" state name being translated, but you seem to be okay with it.
I'll look at the code again to see if I can figure out why sysid is 0, but I'm guessing it was a bug in 7.x-1.1 that is now fixed. I have never seen that happen in all my testing.
Comment #27
nancydruI did find a circumstance that could result in the sysid value being wrong. Fix committed.