https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28564 Bug ID: 28564 Summary: "The many-to-many relationship * is trying to create a utility method" warning Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: jonathan.druart+koha@gmail.com QA Contact: testopia@bugs.koha-community.org I am not sure what triggered this output exactly. To recreate: git checkout this commit (not pushed yet): "Bug 28490: Add DBIx schema changes for testing" qa -c 5 -v 2 --failures It happens when reloading the module in koha-qa.pl: 103 delete $INC{$module}; 104 $module =~ s|/|::|g; 105 $module =~ s|\.pm$||; 106 eval "require $module"; 107 $module->import; During the require, but I cannot recreate in a separate test file. DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'basketnoes' is trying to create a utility method called add_to_basketnoes. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'basketnoes' is trying to create a utility method called remove_from_basketnoes. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'basketnoes' is trying to create a utility method called set_basketnoes. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'basketnoes' is trying to create a utility method called basketnoes_rs. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'budgets' is trying to create a utility method called add_to_budgets. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'budgets' is trying to create a utility method called remove_from_budgets. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'budgets' is trying to create a utility method called set_budgets. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'budgets' is trying to create a utility method called budgets_rs. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'courses' is trying to create a utility method called add_to_courses. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'courses' is trying to create a utility method called remove_from_courses. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'courses' is trying to create a utility method called set_courses. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'courses' is trying to create a utility method called courses_rs. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'ordernumbers' is trying to create a utility method called add_to_ordernumbers. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'ordernumbers' is trying to create a utility method called remove_from_ordernumbers. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'ordernumbers' is trying to create a utility method called set_ordernumbers. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** DBIx::Class::Relationship::ManyToMany::many_to_many(): *************************************************************************** The many-to-many relationship 'ordernumbers' is trying to create a utility method called ordernumbers_rs. This will completely overwrite one such already existing method on class Koha::Schema::Result::Borrower. You almost certainly want to rename your method or the many-to-many relationship, as the functionality of the original method will not be accessible anymore. To disable this warning set to a true value the environment variable DBIC_OVERWRITE_HELPER_METHODS_OK *************************************************************************** -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.