Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
63 views

What is password algorithm for upgrading Grails 2.x to Grails 6.x?

I am upgrading Grails 2.x to Grails 6.x along with Spring security 3.x to latest 6.x. Existing user password in database is plain hash "...
Narayan Subedi's user avatar
0 votes
1 answer
37 views

error in grails when i do .\gradle bootRun

I have installed grails 6.2 on my windows machine. D:\sc>grails --version Grails Version: 6.2.2 JVM Version: 17.0.13 D:\sc> When I try to run .\gradlew\bootRun I get: FAILURE: Build ...
user3675091's user avatar
1 vote
0 answers
29 views

How to define the index length for a domain attribute in Grails 5 with MySQL? [duplicate]

MySQL with InnoDB has a max index length it allows. If a String field in a Grails domain class has a maxSize: 2048 constraint, then an index on that field won't be created in MySQL, even if it's ...
Pablo Pazos's user avatar
  • 3,217
0 votes
0 answers
35 views

Micronaut multiple headers

How to pass multiple number of different headers in Micronaut Declarative client, using Map<String,String>, with [name:value] syntax? @Header annotation requires fixed name, so It should be ...
user2572790's user avatar
2 votes
0 answers
21 views

GORM/Hibernate Managed Object doesn't "exist" inside Promise

I'm having trouble with transactionality in Grails when using promises, I have the following services, which should be running inside the same transaction. Earlier in this transaction a Photo was ...
SGT Grumpy Pants's user avatar
0 votes
0 answers
55 views

grails 6.2 and spring framework 6

I am working with a grails application (6.2.0) that is currently configured to use Spring Framework 5.3.39. I would like to upgrade to 6.1.14. Has anyone done this successfully? (or upgraded to any ...
RSO's user avatar
  • 1
0 votes
0 answers
23 views

Saving parents when children has errors Groovy/Grails

I have a parentObject with children, the children have other children. I need to maintain the validation of 'children2' in 'children1' because I need the idx of 'children1' to show a good message. But,...
David P's user avatar
1 vote
1 answer
133 views

Grails 6 on Tomcat 9 gives "The response object has been recycled and is no longer associated with this facade" after running fine for 2-3 hours

I have a grails 6 application, built using gradlew war and deployed on Tomcat 9 (AWS). The application was converted from Grails 2.5.6, with a fresh build. With the change to grails 6, I converted ...
Brigette Gonch's user avatar
0 votes
1 answer
61 views

Using JaCoCo real time instrumentation for Grails web application running under Tomcat

We try to use JaCoCo (0.8.12) to collect code coverage information in the Grails (5.3.3) web application compiled for Java11 and running under Tomcat (9.0.88). Following JaCoCo instructions, I tried ...
C.A.B.'s user avatar
  • 573
0 votes
0 answers
18 views

grails: testing JSON response from a scaffolded controller

I am trying to test a simple grails Controller for JSON response. I have tried both: with simple scaffolded Controller (scaffolding = DomainClass) exendding from RestfulController controller has no ...
precchia's user avatar
0 votes
1 answer
50 views

Groovy Builder- Unable to construct payload while inserting JSONArray

I was struggling to construct a JSON payload using Groovy Builder . Expected JSON payload { "subscriptions": [ { "subscriptionsId": "1243232", "...
Mandy's user avatar
  • 475
2 votes
1 answer
20 views

Grail, GORM, Spock: An association from the table [X] refers to an unmapped class: [Y]

I'm getting this error in a Spock test after adding a new association to one of the domain objects that this service uses. I haven't found any Grails-related or GORM-related questions referencing this ...
SGT Grumpy Pants's user avatar
0 votes
0 answers
34 views

Is <g:include> broken in Grails 6.2.1?

Upon upgrading to 6.2.1 the <g:include> tag isn't working. I upgraded a 6.2.0 app to 6.2.1 and now my <g:include> tag isn't working. I tested pretty well, adding text before and after, I ...
M Davis's user avatar
  • 21
0 votes
1 answer
45 views

Deploying war to standalone tomcat with in-app context customization (Spring Boot)

Is it possibile to configure tomcat web-app context (specifically persistance manager) from in-app configuration using WebServerFactoryCustomization e.g.: @Bean WebServerFactoryCustomizer<...
Kuba's user avatar
  • 936
0 votes
0 answers
24 views

Opted-out phone number not appearing in list of opted-out numbers in AWS SNS Sandbox

I'm using AWS SNS Sandbox and recently opted out of a phone number by replying "STOP" to a message. I expected this number to appear in the list of opted-out numbers, but when I try to fetch ...
Abdul Siddique's user avatar

15 30 50 per page
1
2 3 4 5
1991