Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.1 doesn't save workflow #65

Open
djowett opened this issue Feb 14, 2019 · 8 comments
Open

2.1.1 doesn't save workflow #65

djowett opened this issue Feb 14, 2019 · 8 comments

Comments

@djowett
Copy link

djowett commented Feb 14, 2019

Not sure what I'm doing wrong, but if I do this:

  1. create a new workflow (from plone intranet folders)
  2. edit a state
  3. uncheck some permission roles
  4. save
  5. return to permission roles in the same state
    => then my changes in 3) are not there!
@tkimnguyen
Copy link
Member

tkimnguyen commented Feb 15, 2019 via email

@agitator
Copy link
Member

can confirm with Plone 5.1.5

@djowett
Copy link
Author

djowett commented Feb 15, 2019 via email

@djowett
Copy link
Author

djowett commented Feb 15, 2019

Hey Kim,
it also happens with a shipped workflow - confirmed with "Single State Workflow".

Ta,
Daniel

@tkimnguyen
Copy link
Member

tkimnguyen commented Feb 16, 2019 via email

@tkimnguyen
Copy link
Member

I'm testing with Plone 5.1.5 and Workflow Manager 2.1.1. I cloned the simple publication workflow. I edited the Pending Review state:

  • changed the title, clicked ok, saved the changes to the workflow
  • unchecked the access contents information permission for Contributor role, clicked ok, saved the changes.

Both changes seem to be saved and persist.

@tkimnguyen
Copy link
Member

@djowett, @agitator can you give me an exact sequence of actions to replicate this with a plain Plone site with only workflow manager on it?

@djowett
Copy link
Author

djowett commented Feb 23, 2019

Hi Kim,

thanks for persisting with this. I've checked and it seems to error more with Firefox not Chromium for me. I did reproduce it on a plain Plone site just now.

When working with Firefox the Save button doesn't go red after you hit "OK", so I didn't realise that was required until using this with Chromium. I think there's 2 issues here

  1. On Chromium or Firefox - edit state permissions and press OK. Don't press save - go back into the State - and the permissions have reverted. I think this is unexpected.

  2. On Firefox only - edit state permissions and press OK. The Save button doesn't go red. Press it anyway - but it doesn't save. Go back into the State - and the permissions have reverted.

I think there's JS / CSS issues, I've noticed at least:

  1. update_form doesn't fire in Firefox - because closer isn't set for some reason
  2. CSS error here https://github.com/plone/plone.app.workflowmanager/blob/2.1.2/src/plone/app/workflowmanager/browser/resources/bootstrap-orig.css#L811

HTH!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants