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

[docs] The example on "Rendered Page Components as JSON" does not work #1674

Closed
alhambrav opened this Issue Dec 6, 2017 · 2 comments

Comments

@alhambrav
Member

alhambrav commented Dec 6, 2017

Expected behavior

The example on "Rendered Page Components as JSON" in the cook-books should work

Actual behavior

The example on "Rendered Page Components as JSON" does not work

Steps to reproduce the problem

{"message":"startup failed:\nsite:/scripts/rest/get-rendered-components.get.groovy: 84: Can't have an abstract method in a non-abstract class. The class 'CapturingResponseWrapper$1' must be declared abstract or the method 'boolean isReady()' must be implemented.\n @ line 84, column 48.\n   t = new ServletOutputStream() {\n                                 ^\n\nsite:/scripts/rest/get-rendered-components.get.groovy: 84: Can't have an abstract method in a non-abstract class. The class 'CapturingResponseWrapper$1' must be declared abstract or the method 'void setWriteListener(javax.servlet.WriteListener)' must be implemented.\n @ line 84, column 48.\n   t = new ServletOutputStream() {\n                                 ^\n\n2 errors\n"}

Log/stack trace (use https://gist.github.com)

Specs: version, OS, browser, etc.

OS X, Chrome browser
Studio Version Number: 3.0.3-SNAPSHOT-316a18
Build Number: 316a18df487b763f557368ba70d1907475166cfd
Build Date/Time: 12-06-2017 11:41:45 -0500

@avasquez614

This comment has been minimized.

Show comment
Hide comment
@avasquez614
Member

avasquez614 commented Dec 12, 2017

PR #1674

@avasquez614 avasquez614 assigned alhambrav and unassigned avasquez614 Dec 12, 2017

sumerjabri added a commit to craftercms/docs that referenced this issue Dec 13, 2017

@alhambrav

This comment has been minimized.

Show comment
Hide comment
@alhambrav

alhambrav Dec 15, 2017

Member

Verified.

Member

alhambrav commented Dec 15, 2017

Verified.

@alhambrav alhambrav closed this Dec 15, 2017

Crafter CMS v3.0.x automation moved this from Backlog to Completed Dec 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment