Use this tag for version 2.5 only, use grails tag for general question about grails Web application framework
Questions tagged [grails-2.5]
85 questions
0
votes
1 answer
grails 2.5.1 ignores Spock functional tests
I just migrated an application from grails 2.2.4 to grails 2.5.1. Now spock tests are not executed. The test directory looks as following:
test
- unit
- FirstSpec
- SecondSpec
- ... (more Spock tests)
- functional
-…

woezelmann
- 1,355
- 2
- 19
- 39
0
votes
1 answer
Installing local plugin on grails 2.5.1
Based on the slide show at
http://www.slideshare.net/kennethaliu/modularizing-your-grails-application-with-private-plugins-springone-2gx-2012
I am trying to modularize my app. To do it I have created a plugin called lms-core and added it in the…

Sap
- 5,197
- 8
- 59
- 101
0
votes
1 answer
Grails 2.5 scaffolding does not remove last hasMany during bind
I created a new Grails 2.5.1 project with 2 domains, and used generate-all to create the scaffolding. One of the domains hasMany of the other domain: User hasMany roles. When I run the app and create a new user and select a role for the user, it…

tbird
- 123
- 10
0
votes
1 answer
grails app standalone app with searchable plug-in throws NoClassDefFoundError
I'm trying to build a standalone grails (v.2.5.0) app using the grails standalone app runner plug-in (v.1.3). With run-app and run-war everything works fine and I can also deploy the WAR file to a tomcat 7 instance without any issues. However, if I…

mlist
- 285
- 1
- 9
0
votes
1 answer
grails unable to generate PDF using rendering plugin
I am trying to render html file to pdf using rendering plugin, my controller method is,
def download() {
response.contentType = 'application/pdf'
response.setHeader("Content-disposition", "attachment; filename=\"download.pdf\"")
def…

Balkrishna
- 2,897
- 3
- 23
- 31
0
votes
1 answer
Dependencies for functional testing with geb
Does anyone know what the correct dependencies are for functional testing with geb in Grails 2.5.0?
I tried version 0.12.0 of the Geb Plugin but I get the following error:
Error running forked test-app: No such property: gebPluginDir for
class:…

zoran119
- 10,657
- 12
- 46
- 88
0
votes
1 answer
Grails 2.5.0 Controller action method params from JSON POST body
In Grails 2.5.0, is it possible to inject a property value from a JSON POST body into a controller action method parameter that isn't a command object? e.g., into a String, a primitive, etc.
This was possible in Grails 2.2.4, but I haven't found a…

XDR
- 4,070
- 3
- 30
- 54
0
votes
1 answer
Passing the value of textbox as form id
Trying to pass the value entered in a textbox by a user as the id of the form. Code snippet below. This always passes params.id = "index" in my controller. If i hardcode form id="someText" it passes params.id = "someText" to controller. Due to…

Da_Vicki
- 91
- 1
- 8
-1
votes
1 answer
Grails 2 and Grails 3 calling private method from other classes
I have observed one strange behaviour in grails 2.5.4 as well as grails 3.3.2/3/4 .
The issue I feel and face is they allow one class to call private method of another class and it's going on till the latest version of grails.
However only…

Kapil Arora
- 151
- 1
- 12
-1
votes
1 answer
grails 2.5.6 Error executing script RunApp
The application is upgraded from grails 2.0.4 to 2.5.6
When running grails war or grails run-app, it fails with a message
| Environment set to development.....
| Packaging Grails application.....
| Error Error executing script RunApp:…

drapetomaniac
- 1
- 3