pablo.pazos
06/08/2025, 8:06 PMjava.util.concurrent.ExecutionException: java.lang.RuntimeException: INTERNAL COMPILER ERROR.Please report this problem. null Node(OPTCHAIN_CALL): highcharts.unminified.js34095 - ${i}: ${e}`,r&&(a+=encodeURI(i)+"="+encodeURI(e))}),a+=t}U(w,"displayError"
pablo.pazos
06/08/2025, 8:06 PMpablo.pazos
06/08/2025, 8:39 PMpablo.pazos
06/08/2025, 8:50 PM?.
) not being supported by the JavaScript minifier, does anybody knows something about that? I have no clue about how the JS gets minified in Grailspablo.pazos
06/08/2025, 9:08 PMuser
06/10/2025, 12:44 PMThomas Rasmussen
06/11/2025, 10:23 AMArjang
06/12/2025, 6:11 PMuser
06/13/2025, 9:49 AMCommand
object to validate the incoming request, and later bind and transform the actual domain model. I have also recently came across gorm listener
so now my question is what is the right place to validate the changes? Is it Command
or the Gorm Listener
Arjang
06/14/2025, 2:07 PMjdaugherty
06/14/2025, 2:08 PMArjang
06/14/2025, 2:08 PMjdaugherty
06/14/2025, 4:42 PMjdaugherty
06/14/2025, 4:42 PMgiangio
06/16/2025, 8:06 AMFAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':configureGroovyCompilerGrailsCore'.
> Could not resolve all files for configuration ':runtimeClasspath'.
> Could not resolve com.bertramlabs.plugins:asset-pipeline-grails:5.0.9.
Required by:
root project :
> Could not resolve com.bertramlabs.plugins:asset-pipeline-grails:5.0.9.
> Could not parse POM <https://repo.maven.apache.org/maven2/com/bertramlabs/plugins/asset-pipeline-grails/5.0.9/asset-pipeline-grails-5.0.9.pom>
> Could not find org.apache.grails:grails-bom:7.0.0-SNAPSHOT.
Searched in the following locations:
- <https://repo.maven.apache.org/maven2/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/maven-metadata.xml>
- <https://repo.maven.apache.org/maven2/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/grails-bom-7.0.0-SNAPSHOT.pom>
- <https://repo.grails.org/grails/restricted/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/maven-metadata.xml>
- <https://repo.grails.org/grails/restricted/org/apache/grails/grails-bom/7.0.0-SNAPSHOT/grails-bom-7.0.0-SNAPSHOT.pom>
> There are 3 more failures with identical causes.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at <https://help.gradle.org>.
BUILD FAILED in 1s
pablo.pazos
06/16/2025, 7:05 PMThomas Rasmussen
06/19/2025, 8:12 AMDave
06/19/2025, 2:52 PMBrandon Ray
06/19/2025, 4:44 PMThomas Rasmussen
06/23/2025, 6:55 AMuser
06/24/2025, 9:24 AMuser
06/24/2025, 3:29 PMIndianerJones
06/25/2025, 6:33 AMrepositories {
inherits true
grailsCentral()
mavenCentral()
mavenRepo("<https://gitlab.company.net/api/v4/groups/dev/-/packages/maven>") {
auth([
username: "oauth",
password: props.get("gitlabMavenPassword") as String ?: System.getenv("CI_JOB_TOKEN")
])
}
}
Since the change, Grails only sends the authentication header after receiving a 401 response, but GitLab now expects the authentication header on the very first request (preemptive authentication).
I tried something like this (hoping to force preemptive authentication):
repositories {
inherits true
grailsCentral()
mavenCentral()
mavenRepo("<https://gitlab.company.net/api/v4/groups/dev/-/packages/maven>") {
auth([
username: "oauth",
password: props.get("gitlabMavenPassword") as String ?: System.getenv("CI_JOB_TOKEN"),
type : "basic"
])
}
}
But it doesn’t seem to help—Grails still only sends the header after the 401 response.
Question:
Is there a way to configure Grails (in BuildConfig.groovy or elsewhere) to force sending the authentication header on the first request (i.e., enable preemptive HTTP Basic Auth for Maven repositories)? Or is there another workaround for this situation?
Thanks in advance for your help!user
06/26/2025, 11:44 AMrss
06/26/2025, 12:04 PMuser
06/26/2025, 1:58 PMOncePerRequestFilter
which I use to do some authentication. How do I make them work or skip based on path pattern by using grails.plugin.springsecurity.filterChain.chainMap
? Now no matter what I specify in the chainMap it gets invoked for every request that lands in our app.user
06/26/2025, 2:34 PM/process/object
which works fine without any auth, and by default my filterChain in application.groovy
looks like this
grails.plugin.springsecurity.filterChain.chainMap = [
[pattern: '/**', filters: 'JOINED_FILTERS']
]
Now, I have defined a new filter called tokenAuthenticationFilter
by extending OncePerRequestFilter
and I am registering this filter under application.groovy like
grails.plugin.springsecurity.filterChain.filterNames = ['tokenAuthenticationFilter']
grails.plugin.springsecurity.filterChain.chainMap = [
[pattern: '/**', filters: 'JOINED_FILTERS,-tokenAuthenticationFilter']
]
As soon as I do this, I get the below chain of exceptions,
2025-06-26 15:32:54.366 [http-nio-8080-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServletRegistration] - Servlet.service() for servlet [dispatcherServletRegistration] in context with path [] threw exception
org.springframework.security.authentication.AuthenticationCredentialsNotFoundException: An Authentication object was not found in the SecurityContext
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:350)
at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:214)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:115)
How can I explicity disable Auth for this? All I have done is introduce a new filteruser
06/26/2025, 2:50 PManonymousAuthenticationFilter
to pass through this?lmatuszewski
06/30/2025, 9:52 AMStephen Lynch
06/30/2025, 12:19 PM