Uploaded image for project: 'mod-oai-pmh'
  1. mod-oai-pmh
  2. MODOAIPMH-292

Incorrect cursor returned within resumption token.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P1
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Labels:
      None
    • Template:
      Standard Bug Write-Up Format
    • Sprint:
      Concorde - Sprint 108
    • Story Points:
      3
    • Development Team:
      Concorde

      Description

      Overview:

      1) When running a harvester, after few requests the harvesting fails with the following error:

       Identical resumptionTokens
      System.Exception: Identical resumptionTokens
       

       with following resumptionToken in response: 

       <resumptionToken cursor="500">...</resumptionToken>
      

      2) The cursor never changes. It is required to populate cursor value properly according to OAI-PMH rules. As well need to enrich existing resumption token flow unit tests with cursor value verification. 
      3) Srs may respond with 502 when requesting 500 records which leads to 500 error. It is required to re-request SRS when it responds with a 500+ status code instead of failing the oai-pmh request. Provide the unit tests for this as well.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                TotoroDev Illia Daliek
                Reporter:
                magdaz Magda Zacharska
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases