http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7167
--- Comment #154 from Jonathan Druart <[email protected]> --- Created attachment 11571 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11571&action=edit Bug 7167: Don't raise an error in routine TableExists Hi Jared, In most cases, if a .pl is not loadable, it is because there is a problem with the write flag or the file has a perl syntax error. It is why I encapsulate the error and raise my own error (I can't load /home/jcamins/kohaclone/installer/data/mysql/versions/update_sample.pl. Please check the execute flag and if this file is a valid perl script). But I display the original error too (DBD::mysql::db do failed: Table 'koha.testtable' doesn't exist at /home/jcamins/kohaclone/C4/Update/Database.pm line 542.). In this case, the last one is the good one. I stupidly copy the existent TableExists routine which raise an error. This patch switches off the RaiseError flag. -- 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/
