Uploaded image for project: 'mod-finance-storage'
  1. mod-finance-storage
  2. MODFISTO-236

Migration scripts cross module database boundary

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Development Team:
      None

      Description

      During a version upgrade of the module, I noticed migration scripts being executed that cross the module database boundary. For example, the pending_payment_cross_module.ftl contains joins with the database schema for mod-invoice-storage, and update_encumbrances_order_status.ftl joins with the database schema for mod-orders-storage. Those were the two I ran across, I didn't attempt a full audit.

      This fundamentally breaks the FOLIO storage model and the contract between modules. Among the issues it could cause:

      • Storage schemas for mod-finance-storage and other modules may not be co-located in the same database
      • Alternative API implementations will not be able to interoperate with this module

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                wayne Wayne Schneider
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases