- Go to draft/list
- Press view for one of them
- Edit node content (in my case Blog entry), do not save as draft
- Press preview
After that user lose all entered data, i.e. Preview button reloads a draft.
- Go to draft/list
- Press view for one of them
- Edit node content (in my case Blog entry), do not save as draft
- Press preview
After that user lose all entered data, i.e. Preview button reloads a draft.
Comments
Comment #1
darren.ferguson commentedWill look at how to resolve this issue it is definitely a bug in the Draft module implementation for the Preview portion
Comment #2
darren.ferguson commentedThe issue has been resolved in the module. It is now checking if the draft id already existed and if the form state is in a submitted form then it will set a flag which the populate function in the JavaScript will verify and if it exists the function will not re-populate the form.
Comment #3
darren.ferguson commentedCode will be in the development branch for the module when the development package build script next runs on d.o. Will work it into a full release within the next week will wait and see if any further bugs appear.
Comment #4
darren.ferguson commentedComment #5
JohnDol commentedThank you