Questions tagged [grails-4]

Grails is a full stack framework and attempts to solve as many pieces of the web development puzzle through the core technology and its associated plugins. Use this tag to talk about issues within grails 4

Grails is a full stack framework and attempts to solve as many pieces of the web development puzzle through the core technology and its associated plugins.

120 questions
0
votes
1 answer

switch user not working when connected to mysql 8 database?

I am trying to get switch user feature in spring security to work. I am using grails 4.0.10 and mysql 8. I created a sample hello world grails app and followed the switch user guide from the documentation.…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

DriverUrlNotFoundException: Driver url not found error?

i am using grails 4.0.10 and doing geb functional testing, so far it has been working great today i got this message when running functional test Execution failed for task ':configureChromeDriverBinary'. >…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
0 answers

Grail 4 Spoc framework unit testing - withFilters not working

We use to use withFilters function in Mixin while writing unit tests but it does not support in Grails 4 spoc framework Please help me if you know what we can use at place of withFilters. I was using Like this …
Shermeen
  • 193
  • 1
  • 4
  • 14
0
votes
0 answers

Cannot run "java" in directory "/home/parallels/Documents/GIT/Gen_Grails_Upgrade/GenRocket/web"): error=7, Argument list too long

I am running a grails project. Grails version 4.0.12 and java 11. It was working fine on the development machine. When the same project imported in a separate ubuntu machine, the "run-app -https --stacktrace" command gives the following…
0
votes
0 answers

Grails Quartz Plugin - No signature of triggerNow()

I'm trying to trigger a job manually from a controller in my Grails4 application. I'm seeing this error: groovy.lang.MissingMethodException: No signature of method: static com.myapp.MyJob.triggerNow() is applicable for argument types:…
mcam11
  • 37
  • 3
0
votes
1 answer

Tomcat request incorrectly changed to include ".jsp" within Grails application

We are moving a Grails 4 application from Oracle to Postgres, and from one server to another. We can run our application without issues locally (using run-app), so we don't think the Oracle -> Postgres transition is responsible for the issue we are…
tylerwal
  • 1,858
  • 2
  • 15
  • 20
0
votes
1 answer

How to run geb functional test in https?

My application requires the app to run in https since the browser sends payment data to payment gateway through JavaScript library. If the app is run in http then this error is thrown by the payment gateway. I have created a simple hello world app…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

geb withconfirm throwing No signature of method: geb.navigator.NonEmptyNavigator.getJs()?

I have created a simple hello world app and here is the spec to test withconfirm block. https://github.com/learningcscience/confirmgeb/blob/master/src/integration-test/groovy/booktest/BookSpec.groovy It is throwing the error when i run the…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
0 answers

Why did Grails 4.0.10 run-app behavior change overnight?

I am suddenly getting a conflict between a class in a Grails plugin and the same class in a Grails plugin. Grails Notification plugin has a skeleton User class defined in order to provide for stand-alone plugin testing. The User class is defined…
Jay
  • 173
  • 10
0
votes
1 answer

how to get default saved request uri in grails spring security core 4?

In grails 2.2 we could get the saved uri to redirect before login as follows. The redirect url would be saved in session[WebAttributes.SAVED_REQUEST]. def auth = { def config = SpringSecurityUtils.securityConfig def redirectURL …
0
votes
1 answer

how to bind multi field date to grails 4 date?

I have a simple Book domain. class Book { String title Date published static constraints = { } } I have created a simple form for book creation <%@ page contentType="text/html;charset=UTF-8" %> …
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

how to customize grails 4 date picker?

I am using grails datepicker in my form to generate date field It generates the field in multi fields format as shown below. I need the format as shown below. I was wondering whether there is a way to…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

grails 4 no enum constant?

I am in the process of upgrading my grails 2 app to grails 4. I have been able to get all compile time errors corrected and now the app runs. It throws this error on hitting the controller action. No enum constant…
kofhearts
  • 3,607
  • 8
  • 46
  • 79
0
votes
1 answer

Spring Webflow for Grails 4

I am migrating from Grails 1.1 to Grails 4.0.11. we have used Spring Webflow in it, but it never works in Grails 4. Is there any solution to implement Spring Webflow in Grails4?
0
votes
1 answer

DRY disable of Grails 4 multi-tenancy for admins

I am using discriminator-based multi-tenancy in Grails 4, upgrading from Grails 2 where I used the hibernate-filter plugin. In Grails 2, I could disable the hibernate-filter in a Grails filter for admin roles - thereby not needing "if…
wwwclaes
  • 1,152
  • 8
  • 12