Bug 26056 - `dbic` generates changes to EDI related schema files with latest MariaDB
Summary: `dbic` generates changes to EDI related schema files with latest MariaDB
Status: RESOLVED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low minor (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-24 09:36 UTC by Jonathan Druart
Modified: 2023-09-18 14:23 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?