Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-115

Example API JSON, "invoice_line_collection.sample", has invalid field

    XMLWordPrintable

    Details

    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      ACQ Sprint 111
    • Story Points:
      1
    • Development Team:
      Thunderjet
    • Release:
      R1 2021 Bug Fix

      Description

      Overview:

      The invoice_line_collection.sample file has a removed field, "vendorRefNo" which, when used by tools like raml-cop, fails to load due to the error:

      ERROR Content is not valid according to schema: Additional properties not allowed: vendorRefNo

      Steps to Reproduce:

      1. Load: acq-models/mod-invoice-storage/examples/invoice_line_collection.sample
      2. Note this sample refers to "vendorRefNo" which has been removed

      Expected Results:

      The sample should use the new "referenceNumbers" field like in invoice_line.sample.

      Actual Results:

      Broken sample that cannot be loaded via raml-cop.

      Additional Information:

      mod-invoice-storage v5.0.0

      acq-models commit 6ad8fc2

      Failure line: https://github.com/folio-org/acq-models/blob/6ad8fc2d592af22a7db24b0e24a06e998b91f00b/mod-invoice-storage/examples/invoice_line_collection.sample#L40

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Andrei_Makaranka Andrei Makaranka
                Reporter:
                mreno Mathew Reno
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases