Bug 26056

Summary: `dbic` generates changes to EDI related schema files with latest MariaDB
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Architecture, internals, and plumbingAssignee: Bugs List <koha-bugs>
Status: CLOSED INVALID QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26042
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jonathan Druart 2020-07-24 09:36:32 UTC
Maybe a bug in latest MariaDB (10.5.4)

        modified:   Koha/Schema/Result/Aqbasket.pm                                                                                                                                                                 
        modified:   Koha/Schema/Result/Aqbookseller.pm                                        
        modified:   Koha/Schema/Result/Aqbudget.pm                                   
        modified:   Koha/Schema/Result/Branch.pm                      
        modified:   Koha/Schema/Result/EdifactEan.pm             
        modified:   Koha/Schema/Result/EdifactMessage.pm                                                                                                                                                           
        modified:   Koha/Schema/Result/VendorEdiAccount.pm  

Stuffs like:
+__PACKAGE__->has_many(                                                                                                                                                                                            
+  "edifact_messages_2s",                                                                                                                                                                                          
+  "Koha::Schema::Result::EdifactMessage",                                                                                                                                                                         
+  { "foreign.basketno" => "self.basketno" },                                                                                                                                                                      
+  { cascade_copy => 0, cascade_delete => 0 },                                                                                                                                                                    
+); 

+__PACKAGE__->has_many(                                               
+  "edifact_messages_2s",                                                                                                                                                                                          
+  "Koha::Schema::Result::EdifactMessage",                            
+  { "foreign.vendor_id" => "self.id" },                                                                                                                                                                          
+  { cascade_copy => 0, cascade_delete => 0 },                                                                                                                                                                     
+);                                                                                                                                                                                                               
                                                                                                                                                                                                                   
+__PACKAGE__->has_many(                                                                                                                                                                                            
+  "vendor_edi_accounts_2s",                                                                                                                                                                                      
+  "Koha::Schema::Result::VendorEdiAccount",                                                                                                                                                                       
+  { "foreign.vendor_id" => "self.id" },                                                                                                                                                                           
+  { cascade_copy => 0, cascade_delete => 0 },
+);    

and more...
Comment 1 Katrin Fischer 2023-09-16 16:48:03 UTC
3 years ago... can we close this?