bilgehan
04/22/2025, 9:38 AMgopichand.bhaskaruni
04/29/2025, 7:15 PMExecution failed for task ':citss-web:compileFunctionalTestGroovy'.
> Unrecoverable compilation error: startup failed:
General error during instruction selection: java.lang.NoClassDefFoundError: org.openqa.selenium.interactions.HasInputDevices
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org.openqa.selenium.interactions.HasInputDevices
gopichand.bhaskaruni
05/02/2025, 7:01 PMpablo.pazos
05/04/2025, 6:52 PMpablo.pazos
05/12/2025, 12:26 AMuser
05/12/2025, 7:40 AMSpring Security Core
link in that page. But when I click on it, I see that it takes me to https://grails.github.io/grails-spring-security-core/ and it shows page not found. Can someone guide me how else can I find the documentation? I found this https://apache.github.io/grails-spring-security/latest/ is this an alternative link?user
05/12/2025, 1:48 PMAlex Kramer
05/12/2025, 8:28 PMmuser
05/13/2025, 10:11 AMjfelrod1960
05/14/2025, 4:17 PMuser
05/15/2025, 3:07 PMpablo.pazos
05/16/2025, 2:18 AMpablo.pazos
05/16/2025, 2:36 AMpablo.pazos
05/16/2025, 2:36 AMpablo.pazos
05/16/2025, 2:36 AMuser
05/16/2025, 2:22 PMjeffscottbrown
05/16/2025, 2:23 PMpablo.pazos
05/16/2025, 9:41 PMit.registerObjectMarshaller(AuditDetails) { audit ->
def a = [
system_id: audit.systemId,
committer: audit.committer, // PartyProxy
time_committed: {
value: audit.timeCommitted
}
]
if (audit.changeType) a << [changeType: audit.changeType.toString()] // TODO: transform to coded text
return a
}
that printed EVERYTHING out!
"time_committed": {
"audit": {
"_ref": "../..",
"class": "com.cabolabs.ehrserver.openehr.common.generic.AuditDetails$HibernateProxy$quMc648M"
},
"delegate": {
"delegate": {
"delegate": {
"PS": "/",
"configurationService": {
"applicationContext": {
"active": true,
"applicationListeners": [ ....
pablo.pazos
05/16/2025, 9:42 PMpablo.pazos
05/16/2025, 9:43 PMrss
05/19/2025, 5:44 PMAlex Z.
05/21/2025, 2:23 AMrss
05/28/2025, 3:04 AMuser
05/29/2025, 12:04 PMclass Node {
UUID id
String anotherId
static belongsTo = [Parent: parent]
}
and when I do findByAnotherId(String anotherId)
it fails with org.hibernate.QueryException: could not resolve property: name of: com.example.cs.Node
But when I add another field to the domain with String Name
everything seems to work fine. Why is that so? Is this expected behaviour that all domain classes must have a name?spencer
05/29/2025, 8:31 PMpablo.pazos
05/30/2025, 11:24 PMpablo.pazos
06/02/2025, 9:31 PMthomassd
06/02/2025, 10:33 PMuser
06/04/2025, 3:57 PMpablo.pazos
06/06/2025, 9:41 PMorg.springframework.orm.hibernate5.HibernateSystemException: The EntityInsertAction was vetoed.; nested exception is org.hibernate.action.internal.EntityActionVetoException: The EntityInsertAction was vetoed.
That happens in Grails 5 when a domain instance is saved but an associated instance didn't validate. The weird thing is that instead of getting a Grails/GORM validation exception, we get an exception from Hibernate that doesn't help much to telling the dev what's going on.
This happens to me from time to time and I continue finding the same question again and again on SO https://stackoverflow.com/questions/73624214/entityactionvetoexception-the-entityinsertaction-was-vetoed/79656508#79656508
Wouldn't it be better that Grails/GORM catches that and re-throws a validation exception telling the dev which instance in which associations isn't valid and maybe including where that's not valid? (like null value on a nullable:false field, etc).
An alternative would be to add this to every controller, maybe adding the instance.errors.allErrors to the exception
def handleVetoed (HibernateSystemException e)
{
throw new ValidationException(e)
}