kaleidos / grails-postgresql-extensions

Grails plugin to use postgresql native elements such as arrays, hstores,...
Apache License 2.0
78 stars 62 forks source link

Solved ClassCastException in deepCopy() and equals() that prevented somehow deletion of instances #29

Closed manuelvio closed 10 years ago

manuelvio commented 10 years ago

I've enforced type checking in HstoreDomainType methods in order to make a correct type cast. A test that check instance deletion is attached, so far I've noticed no regressions. This should solve issue #28.

ilopmar commented 10 years ago

Thank you very much for your fix. I'll merge tonight and generate a new version of the plugin.

Regards, Iván.

ilopmar commented 10 years ago

I've cleanup all (removed target directory) and the project compiles and all the test pass.

Do you want me to generate a new version with all the commits in your PR or do you want to do some additional tests? For me it's ok to generate the new version.

Regards, Iván.

manuelvio commented 10 years ago

A new version is ok for me too, thanks!