Re: Generated dnProvideFields method appears to not handle case where fieldNumbers array is null (i.e. class has no attributes) in DN 5.1.6


Andy
 

The StateManager and enhancement contract are not the place to change anything.
You need to prevent calling dnProvideFields with crap. i.e checkForSchemaUpdatesForFieldsOfObject (i.e where you have interfaces and some discovered implementations).
This is only of relevance there.

Join main@datanucleus.groups.io to automatically receive all group messages.