sheehan/grails-console

No output to successfully executed script (v2.0.9)

Closed this issue · 3 comments

When I load the console I can see that every element is loaded correctly:

image

When I then execute a script that should print out an output, I can't see anything in the output console:

image

You can see that the correct response is received from the server.

This happens on chrome, latest version (2017-08-20): Version 59.0.3071.115 (Official Build) (64-bit)

Firefox latest version too

An additional point. I set out to see what comes out of a javascript debugging session on the browser.

I get the following situation:

image

In short, the response argument to the method is populated, but when you look at what is passed to the model, it is undefined for some inexplicable (to me) reason.

It is consistent with what I see later in the results collection:

image

Getting closer:

response actually contains a String, instead of a Map!

image

Turns out this is solved in the current version of the plugin (2.1.0), but the plugin page has not been updated yet (2.0.9). There is a closed issue about this, but they did not update the latest version on the plugin page accordingly.

#62