http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8798
--- Comment #27 from wajasu <[email protected]> --- i found a way to squelch the validation warning. in C4/Context.pm i put $ENV{'DBIC_DONT_VALIDATE_RELS'} = 1; # FIXME once the DBIx schema has its schema adjusted we should remove this If this is going out in whatever state its in, this will prevent us from seeing the warning all over the place, but we should write a bug noting this to track it as a possible outstanding issue. But we will loose this other lrelationship validations as well. When we write tests, we might just write a test for the schema for us to see those validation tests. See the source for reference. /usr/share/perl5/DBIx/Class/Relationship/HasOne.pm prove t/Context.t t/Context.t .. ok All tests successful. Files=1, Tests=1, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.69 cusr 0.05 csys = 0.78 CPU) Result: PASS I ran dbicdump on my debian VM and it matches what Elliot got. ActionLogs.pm I ran it on my archlinux hostOS and it generates ActionLog.pm So maybe some transitive dependency for plural/stemming etc is newer on my, and Colin's environments. You might want to rename it to ActionLog to align with future behavior. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
