-
Notifications
You must be signed in to change notification settings - Fork 461
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
fix(core): Workflow Action Endpoint does not return the contentlet metadata #28338 #28369
Conversation
…/core into issue-28338-hydrate-content-on-wf
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs changes
this.needSave(fireActionForm), formBuilder.build()): | ||
this.workflowAPI.fireContentWorkflow(contentlet, formBuilder.build())) | ||
) | ||
new ResponseEntityView<>(this.workflowHelper.contentletToMap(hydratedContentlet)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ghetto - why is this done in the workflowHelper
and not the DotTransformer
? Seems like we need this information in every response, no?
Currently the contentlets on the WF rest API are not being hydrated, so some properties are not part of the json result
The simple change will add the missing properties