Darn, I should have copied the actual code, whatever unintelligible it is :(
Forgot the line which encaches new object, and which actually -- far as I
understand -- caused the problem:
On 1. 4. 2016, at 19:17, OC wrote:
> the gist is this:
>
> def theValue() {
> def val=this.cacheTo1Relation
Hi there,
it so happens I cache a special object of a :N relationship in a fast :1
relationship -- the gist is this:
def theValue() {
def val=this.cacheTo1Relationship()
if (!val)
for (v in this.toNRelationship())
if (somecondition) {
val=v
break
}
return va