pharo-rdbms / glorp

Generic Lightweight Object Relational Persistence
MIT License
23 stars 24 forks source link

myDependents returns nil, causes error in Pharo 12 #155

Open JanBliznicenko opened 2 weeks ago

JanBliznicenko commented 2 weeks ago

Hello, when attempting to do anything with my Glorp setup, I keep getting not understood errors for using do: on nil. Problem is that the (Pharo)DatabaseAccessor seems to return nil from myDependents. In Pharo 11, the implementation of Object>>dependents was ^ self myDependents ifNil: [#()]. In Pharo 12 it is just ^ self myDependents and do: is sent to the result of this (which is nil).

A little related to https://github.com/pharo-rdbms/glorp/issues/125