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

Cannot set voucher "Starting number" or reset sequence

    XMLWordPrintable

Details

    • ACQ Sprint 120
    • 1
    • Thunderjet
    • R2 2021 Bugfix
    • Legitimate regression

    Description

      Overview: Not able to change the voucher starting number in invoice settings or reset voucher number sequence.

      Steps to Reproduce:

      1. Log into FOLIO-snapshot or bugfest-juniper
      2. Select settings
      3. Select Invoices
      4. Select Voucher number
      5. input a value into the Starting number field
      6. Click reset sequence

      Expected Results: Starting number is saved and voucher sequence is reset and displays the next number in sequence as the number you input for "Starting number"

      Actual Results: Start number could not be saved error is shown.

      Additional Information: see link below to test
      URL: https://folio-snapshot.dev.folio.org/settings/invoice/voucher-number

      Error message for /voucher/voucher-number/start/1 :

      Accept header must be ["text/plain"] for this request, but it is "application/json", can not send */*

      The issue happens between mod-invoice and mod-invoice-storage: mod-invoice uses application/json as the Accept header, while mod-invoice-storage only accepts text/plain. If we want to allow application/json, mod-invoice-storage needs to be updated.

      Interested parties:

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                Andrei_Makaranka Andrei Makaranka
                dennisbridges Dennis Bridges
                Dennis Bridges Dennis Bridges
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases