Uploaded image for project: 'Bitrepository'
  1. Bitrepository
  2. BITMAG-472

Unpredicted results when specifying multiple FileIDs in Get FileIDs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Iteration 22
    • None
    • Web GUI
    • None
    • Hide

      Take a look at the Get checksums page of the webclient and see that the lable for fileID is "FileID"

      Show
      Take a look at the Get checksums page of the webclient and see that the lable for fileID is "FileID"

    Description

      If manual input of multiple FileID are not allowed, please rename input field label to "FileID".

      Two examples below, all files searched for are fully replicated in repository.

      Search1:
      http://bitmag-stage01.statsbiblioteket.dk:9350/bitrepository-webclient/repo/reposervice/getFileIDsHtml/?fileIDs=mux1%20mux3&allFileIDs=false
      Output:
      <html><head><style> #good

      {background-color:#31B404;}

      #bad

      {background-color:#B40404;}

      td

      {padding: 5px;}

      </style></head><body><table> <tr valign="top">
      <td><table> <tr> <th> <b>File Id:</b> </th> <th>  </th><th><b>Number of answers </b></th></tr><tr><td id=bad>mux1</td><td></td><td>1</td></tr><tr><td id=bad>mux3</td><td></td><td>1</td></tr></table> </td> <td>  </td><td><table><tr> <th> <b> Pillar list</b> </th> </tr><tr><td>sbpilottape1</td></tr><tr><td>sbpilotdisk1</td></tr></table></td> </tr> </table></body></html>

      Log:
      [25-Mar-2012 10:35:21] IDENTIFY_REQUEST_SENT event: Identifying pillars for GetFileIDs org.bitrepository.bitrepositoryelements.FileIDs@42e5edb1[fileID=mux1 mux3, allFileIDs=<null>]
      [25-Mar-2012 10:35:22] PillarOperationEvent for pillar 'sbpilottape1': Received IdentifyPillarsForGetFileIDsResponse org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@44c4ad4c[correlationID=c9567601-0bc0-4f28-a908-28be26520795, collectionID=sb-pilot-1, to=topic://sb-pilot-1.webclient, replyTo=topic://sb-pilot-1.sbpilottape1, version=1, minVersion=1, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4c4d7bd9[responseCode=IDENTIFICATION_POSITIVE, responseText=IDENTIFICATION_POSITIVE], pillarID=sbpilottape1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@72fe0ab1[fileID=mux1 mux3, allFileIDs=<null>], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@4702572[timeMeasureUnit=MILLISECONDS, timeMeasureValue=60000]]
      [25-Mar-2012 10:35:22] PillarOperationEvent for pillar 'sbpilotdisk1': Received IdentifyPillarsForGetFileIDsResponse org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@470dee3d[correlationID=c9567601-0bc0-4f28-a908-28be26520795, collectionID=sb-pilot-1, to=topic://sb-pilot-1.webclient, replyTo=topic://sb-pilot-1.sbpilotdisk1, version=1, minVersion=1, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@63940b3c[responseCode=IDENTIFICATION_POSITIVE, responseText=IDENTIFICATION_POSITIVE], pillarID=sbpilotdisk1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@c6dc337[fileID=mux1 mux3, allFileIDs=<null>], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@7a2b5640[timeMeasureUnit=MILLISECONDS, timeMeasureValue=60000]]
      [25-Mar-2012 10:35:22] PillarOperationEvent for pillar '[SelectedPillarInfo: pillarID=sbpilottape1, pillarTopic=topic://sb-pilot-1.sbpilottape1, SelectedPillarInfo: pillarID=sbpilotdisk1, pillarTopic=topic://sb-pilot-1.sbpilotdisk1]': Identified pillars for getFileIDs
      [25-Mar-2012 10:35:22] PillarOperationEvent for pillar 'sbpilottape1': sbpilottape1
      [25-Mar-2012 10:35:22] PillarOperationEvent for pillar 'sbpilotdisk1': sbpilotdisk1
      [25-Mar-2012 10:35:23] PillarOperationEvent for pillar 'sbpilottape1': Received file ids result from sbpilottape1
      [25-Mar-2012 10:35:23] PillarOperationEvent for pillar 'sbpilotdisk1': Received file ids result from sbpilotdisk1
      [25-Mar-2012 10:35:23] COMPLETE event: All pillars have delivered their FileIDs.

      Search2:
      http://bitmag-stage01.statsbiblioteket.dk:9350/bitrepository-webclient/repo/reposervice/getFileIDsHtml/?fileIDs=baa%20bab&allFileIDs=false
      Output:
      <html><head><style> #good

      {background-color:#31B404;}

      #bad

      {background-color:#B40404;}

      td

      {padding: 5px;}

      </style></head><body><table> <tr valign="top">
      <td><table> <tr> <th> <b>File Id:</b> </th> <th>  </th><th><b>Number of answers </b></th></tr><tr><td id=good>bab</td><td></td><td>2</td></tr></table> </td> <td>  </td><td><table><tr> <th> <b> Pillar list</b> </th> </tr><tr><td>sbpilottape1</td></tr><tr><td>sbpilotdisk1</td></tr></table></td> </tr> </table></body></html>

      Log:
      [25-Mar-2012 10:37:08] IDENTIFY_REQUEST_SENT event: Identifying pillars for GetFileIDs org.bitrepository.bitrepositoryelements.FileIDs@18bd1fd6[fileID=baa bab, allFileIDs=<null>]
      [25-Mar-2012 10:37:08] PillarOperationEvent for pillar 'sbpilotdisk1': Received IdentifyPillarsForGetFileIDsResponse org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@8940818[correlationID=71c7f0ce-aa66-403d-98d8-932c90d1acca, collectionID=sb-pilot-1, to=topic://sb-pilot-1.webclient, replyTo=topic://sb-pilot-1.sbpilotdisk1, version=1, minVersion=1, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@2e9f640e[responseCode=IDENTIFICATION_POSITIVE, responseText=IDENTIFICATION_POSITIVE], pillarID=sbpilotdisk1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@6261eb0b[fileID=baa bab, allFileIDs=<null>], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@a8e51a3[timeMeasureUnit=MILLISECONDS, timeMeasureValue=60000]]
      [25-Mar-2012 10:37:08] PillarOperationEvent for pillar 'sbpilottape1': Received IdentifyPillarsForGetFileIDsResponse org.bitrepository.bitrepositorymessages.IdentifyPillarsForGetFileIDsResponse@21a0e22b[correlationID=71c7f0ce-aa66-403d-98d8-932c90d1acca, collectionID=sb-pilot-1, to=topic://sb-pilot-1.webclient, replyTo=topic://sb-pilot-1.sbpilottape1, version=1, minVersion=1, responseInfo=org.bitrepository.bitrepositoryelements.ResponseInfo@4960864c[responseCode=IDENTIFICATION_POSITIVE, responseText=IDENTIFICATION_POSITIVE], pillarID=sbpilottape1, fileIDs=org.bitrepository.bitrepositoryelements.FileIDs@60110d36[fileID=baa bab, allFileIDs=<null>], timeToDeliver=org.bitrepository.bitrepositoryelements.TimeMeasureTYPE@7f7a857f[timeMeasureUnit=MILLISECONDS, timeMeasureValue=60000]]
      [25-Mar-2012 10:37:08] PillarOperationEvent for pillar '[SelectedPillarInfo: pillarID=sbpilotdisk1, pillarTopic=topic://sb-pilot-1.sbpilotdisk1, SelectedPillarInfo: pillarID=sbpilottape1, pillarTopic=topic://sb-pilot-1.sbpilottape1]': Identified pillars for getFileIDs
      [25-Mar-2012 10:37:08] PillarOperationEvent for pillar 'sbpilotdisk1': sbpilotdisk1
      [25-Mar-2012 10:37:09] PillarOperationEvent for pillar 'sbpilottape1': sbpilottape1
      [25-Mar-2012 10:37:09] PillarOperationEvent for pillar 'sbpilotdisk1': Received file ids result from sbpilotdisk1
      [25-Mar-2012 10:37:09] PillarOperationEvent for pillar 'sbpilottape1': Received file ids result from sbpilottape1
      [25-Mar-2012 10:37:09] COMPLETE event: All pillars have delivered their FileIDs.

      Attachments

        Issue Links

          Activity

            People

              ktc Kim Christensen (Inactive)
              lfm Lars Mydtskov
              Mikis Seth Sørensen Mikis Seth Sørensen (Inactive)
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: