On 06/12/2015 01:11 AM, Matthew Somerville wrote:
Hi,
The code I quote below gives the following output, with DBIx::Class 0.082820:
Extra is: 123
Local object extra is: 456
Refetched extra is: 456
Local object extra is: 101112
Use of uninitialized value $n in multiplication (*) at test.pl line 16.
Refetched extra is: 0
ie. if you set a filtered column more than once before saving it, the
data is lost when saved. I'm not entirely sure, but this appears to be
due to the change made in
https://github.com/dbsrgits/dbix-class/commit/dc6dadae6 where
set_filtered_column deletes the data if the column is already marked
as changed.
The problem does not occur with DBIx::Class 0.08209, which I had
installed elsewhere; sorry I haven't had time to install the version
just prior to that commit to check. Hope that's helpful.
Problem confirmed. Will be addressed within a week.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/dbix-class@lists.scsys.co.uk