Currently many stuff are done by seeking in the request object, should be taken in the transiant vars (the caller should add request paremeters to transiant vars)
Référence
WORKFLOW-19Enhance Workflow to be usable outside a request
The getContent helper does not tries to getit the request attribute or result map anyware more (see CreateContentFunction)
getMapToRender was renammed to getResultsMap
ContentWorkflowAction
Does not add lock token to session (it was done too late to be intereting and Cedric think that each one should do that if necessary)
ContentCheckRightsCondition
The getContent method has been modified as in the AbstractContentWorkflowComponent
ValidateMetadataCondition
Now extending directly AbstractContentWorkflowComponent so the getContent method is not duplicated anymore
The condition was only working with modifiable metadata - that has been fixed
The condition is now checking min/max size of repeaters
CreateContentFunction
the content is not set as a request attribute
the content is set as a transiant var
CreateVersionFunction
the "prevent-version-creation" parameter is still read in transiant vars but not in request attribute anymore
RestoreRevisionFunction
"contentVersion" is now read in the new contextParameters and no more in request parameters
SendMailFunction
No more settings the pluginName as a request attribute (should have been for the old i18n default catalogue)
The cms url is no more read from the current request uri but took from the "cms.url" config parameter
EditContentFunction
Some getCompositeMetadata has no 'true' argument to create
Raphaël Franchet
added a comment - - edited
AbstractContentWorkflowComponent
The getContent helper does not tries to getit the request attribute or result map anyware more (see CreateContentFunction)
getMapToRender was renammed to getResultsMap
ContentWorkflowAction
Does not add lock token to session (it was done too late to be intereting and Cedric think that each one should do that if necessary)
ContentCheckRightsCondition
The getContent method has been modified as in the AbstractContentWorkflowComponent
ValidateMetadataCondition
Now extending directly AbstractContentWorkflowComponent so the getContent method is not duplicated anymore
The condition was only working with modifiable metadata - that has been fixed
The condition is now checking min/max size of repeaters
CreateContentFunction
the content is not set as a request attribute
the content is set as a transiant var
CreateVersionFunction
the "prevent-version-creation" parameter is still read in transiant vars but not in request attribute anymore
RestoreRevisionFunction
"contentVersion" is now read in the new contextParameters and no more in request parameters
SendMailFunction
No more settings the pluginName as a request attribute (should have been for the old i18n default catalogue)
The cms url is no more read from the current request uri but took from the "cms.url" config parameter
EditContentFunction
Some getCompositeMetadata has no 'true' argument to create
Unassigned
Raphaël Franchet
Votes:
0Vote for this issue
Watchers:
1Start watching this issue
Created:
Updated:
Resolved:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]