Scale back validation of the 'as' attribute (revert 95e41036)
authorPeter Rabbitson <ribasushi@cpan.org>
Sun, 24 Feb 2013 17:45:23 +0000 (18:45 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Sun, 10 Mar 2013 11:10:45 +0000 (12:10 +0100)
commit25a942fa2ac003838d9c0f19ea3f6aed54ac8378
tree02712d0e3e335ffc54f24db53d82b5d2e0696110
parent704a0f8ec36f8bd8e273f5ddb553b2f67ea83f06
Scale back validation of the 'as' attribute (revert 95e41036)

It turned out that users employ invalid-but-sensical inflation maps in
production. Remove the early sanity check of the infmap and move the code
throwing an exception all the way back to ::Row

Follow through this thread for more details:
http://lists.scsys.co.uk/pipermail/dbix-class/2013-February/011115.html
Changes
lib/DBIx/Class/ResultSet.pm
lib/DBIx/Class/Row.pm
t/resultset/inflatemap_abuse.t [new file with mode: 0644]