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

Synthetic Workflow docs' example has compile errors #152

Open
3 tasks
reggie7 opened this issue Apr 18, 2019 · 1 comment
Open
3 tasks

Synthetic Workflow docs' example has compile errors #152

reggie7 opened this issue Apr 18, 2019 · 1 comment

Comments

@reggie7
Copy link
Contributor

reggie7 commented Apr 18, 2019

  • AEM Version: 6.5
  • ACS AEM Commons Version: 4.0.0
  • Reproducible on Latest? yes

Expected Behavior

Example Code: Synthetic Workflow by Workflow Process Name from the docs compiles and runs out of the box.

Actual Behavior

Example Code: Synthetic Workflow by Workflow Process Name from the docs produces the following error:

Unable to compile class for JSP: An error occurred at line: 56 in the jsp file: /apps/acs-tools/components/aemfiddle/fiddle/fiddle.jsp The method execute(ResourceResolver, String, SyntheticWorkflowModel, boolean, boolean) in the type SyntheticWorkflowRunner is not applicable for the arguments (ResourceResolver, String, String[], Map<String,Map<String,Object>>, boolean, boolean) 53: boolean saveAfterEachWFProcess = false; 54: boolean saveAtEndOfAllWFProcesses = false; 55: 56: swr.execute(resourceResolver, r.getPath(), new String[] { 57: "Extract Meta Data", 58: "Create Thumbnail", 59: "Create Web Enabled Image",
Cannot serve request to /etc/acs-tools/aem-fiddle/_jcr_content.run.html on this server

Steps to Reproduce

Follow the docs and try to run Example Code: Synthetic Workflow by Workflow Process Name.

@reggie7
Copy link
Contributor Author

reggie7 commented Apr 18, 2019

I guess the API must have changed and an approach with SyntheticWorkflowModel should be used in the example instead?

@justinedelson justinedelson transferred this issue from Adobe-Consulting-Services/acs-aem-commons Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants