Allow autocommit workflows to do apply (save & re-edit).
This commit is contained in:
parent
2dc0cc3937
commit
7a3213b373
2 changed files with 5 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.17
|
||||
- fixed #10750: Story Manager - Save and add another photo
|
||||
- fixed i18n message for delete assets doesn't mention children.
|
||||
- fixed #10752: Missing SQL Report download group default
|
||||
- fixed: #9595: Gallery layout corruption with old browsers
|
||||
|
|
@ -52,7 +53,7 @@
|
|||
- rfe #10423: Provide a way to access the instance of the thing that was added, modified, or deleted via workflow. (Eric Kennedy)
|
||||
- Templates can now return a JSONified version of their params hash based on
|
||||
requested Accept headers ( Martin Kamerbeek / Oqapi )
|
||||
- fixed #10743: Inbox Rich Editor selection not saved (Eric Kennedy)
|
||||
- fixed #10743: Inbox Rich Editor selection not saved (Eric Kennedy)
|
||||
|
||||
7.7.16
|
||||
- fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks
|
||||
|
|
|
|||
|
|
@ -2768,6 +2768,9 @@ sub www_editSave {
|
|||
# we handle auto commit assets here in case they didn't handle it themselves
|
||||
if ($object->getAutoCommitWorkflowId) {
|
||||
$object->requestAutoCommit;
|
||||
#Since the version tag makes new objects, fetch a fresh one here.
|
||||
#Note, this workaround can still fail, if WebGUI hands off back to spectre.
|
||||
$object = WebGUI::Asset->new($session, $object->getId, $object->get('className'));
|
||||
}
|
||||
# else, try to to auto commit
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue