Questions tagged [grails-3.3.x]

For issues relating to setting up or using the Grails Framework, version 3.3.x

Links

  1. Grails 3.3.x Upgrade Notes

  2. The Grails Framework 3.3.5 - Documentation

26 questions
6
votes
3 answers

Include boolean params with g:include are passed as Strings to the included view

I don't know if the following change is an issue or it is intended. Then the expression in line.gsp aways evaluates to true, because the type of the 'progress' param is…
Gabi
  • 687
  • 1
  • 7
  • 18
3
votes
3 answers

Does Grails 3.x support Java 11

I know Java 11 has not been officially released yet, but has anyone tested Grails 3.x with an early access release of Java 11? Or does anyone know when or if Grails 3.x will support Java 11?
SGT Grumpy Pants
  • 4,118
  • 4
  • 42
  • 64
2
votes
2 answers

JDBC Connection get lost after some idle time

I am getting a communication link failure exception while executing some MySQL queries after some time. I am using the SQL connection object of package groovy.sql. The application works perfectly fine if I browse the application continuously but it…
2
votes
0 answers

Calling self's API on application Restart(Grails 3.3.9) (Tomcat Restart)

While building a grails 3.3.9 application, I've encountered a scenario where I need to call its own API on application restart (for a specific purpose). I long as I know we can't make an API calls via boostrap.groovy, So an alternate option I found…
2
votes
3 answers

Grails 3: Unit Testing Interceptors: Doesn't halt in interceptor

For demo purposes I have set up a fresh grails application with these files: class HalloController { def index() { String heading = request.getAttribute("heading") render "${heading}" } } class HalloInterceptor { …
Erando
  • 811
  • 3
  • 13
  • 27
2
votes
1 answer

Grails 3 - Geometry type in domain

I'm trying to add a Point to a domain object in Grails 3.3.8 (current latest release). Grails 3.3.8 uses Hibernate 5.1.5, which has support for hibernate-spatial. In build.gradle: compile group: 'org.hibernate', name: 'hibernate-spatial', version:…
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
1
vote
0 answers

Unable to get SessionRepository while integrating Spring Session using JDBC with Grails3

I am unable to integrate Spring Session with Grails-3.3.15 application using JDBC to persist HttpSession in PostgreSQL db. I get BeanCreationException upon startup of the application. Background: I referred to official guide here explained for Redis…
Manish Kapoor
  • 488
  • 3
  • 16
1
vote
1 answer

Grails 3.3.9 Spring Security UI 3.1.2 generate error for duplicate email

In my User.groovy domain class, I have added the field String email which I want to capture on registration. I have these constraints defined: email email:true, blank: false, maxsize: 255, unique: true When I register, if I try to reuse an…
MonetsChemist
  • 165
  • 10
1
vote
1 answer

Method Not Allowed 405, when hitting POST request after grails uprgade from 2.5.2 to 3.3.11

After upgrading grails 2.5.2 to 3.3.11, I am getting Method Not Allowed response while hitting POST request. The GET method works fine. Controller: package omapi import grails.rest.RestfulController import…
1
vote
1 answer

How to deep clone domain object in grails 3.3.11?

I'm trying to deep clone my domain object. It has around 10 one-to-one mapping and further they have more. I tried the below snippet: def deepClone() { def copy = this.class.newInstance() PersistentEntity entity =…
1
vote
0 answers

GORM createCriteria and the result set do not return the same results

In the createCriteria using max:50 and offset:0, I have a projection like below projections { sum('downloads') sum('clicks') groupProperty('site') groupProperty('link') groupProperty('device') } totalCount returns 939 rows and the result set…
1
vote
1 answer

Grails 3.3.6 not firing DocStart and DocEnd Events for command gradle docs

I created a new Grails 3.3.6 application. Following this document to create documentation for my project: Grails Docs The above document says to use gradle docs or grails doc with following arguments.. Arguments: --init - Create a template project…
Rax
  • 563
  • 1
  • 3
  • 17
0
votes
0 answers

In grails 3.3.9 Auto reload of grails inline plugin for controller and services not working although js file changes are reflecting

We have upgraded our project from grails 3.2.x to 3.3.9 then for any inline plugin auto reload of classes i.e services and controller not working although js file changes are instantly reflecting Have tried exploded=true but it still not…
0
votes
1 answer

How can I customize exception mappings of default AuthenticationEventPublisher in Grails Spring Security Plugin

Background: In my project, I needed to have two factor authentication (by sending OTP to registered email) which I implemented by extending DaoAuthenticationProvider. In order to identify reason of why OTP authentication has failed, my custom…
0
votes
2 answers

Grails CXF plugin not found

I am trying to implement SOAP services in my app, the best plugin I found is CXF, but I couln't install it, it looks like that I should put some additional repository. I raised an issue in the source page, but if someone has faced this before, can…
IgniteCoders
  • 4,834
  • 3
  • 44
  • 62
1
2