Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-33

checksum checker can not retrieve very large bitstream - ID: 2016130

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.2
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      1

      Description

      in the database there is a field for the size of a bitstream. it`s defined
      as a int8 value which is at java the datatype long.

      the query in the checksum checker reads this value in as a "INT" VALUE
      INSTEAD OF A "LONG" VALUE. if it`s realy a big file and the size doesn`t
      fit into the int, that`s causes an exception of course, which is catched as
      a SQLException and logged as "Bitstream metadata could not be retrieved.
      ...". the size of the bitstream is handled at the hole checksum classes as
      an int. that`s regarding the following classes:

      • Class: org.dspace.checker.BitstreamInfoDAO
        + Line 277: Method: findByBitstreamId
      • Class: org.dspace.checker.BitstreamInfo
        + Line 144: Constructor
        + Line 207/218: Methods: get/setSize
      • Class: org.dspace.checker.DSpaceBitstreamInfo
        + Line 137: Constructor
        + Line 202/213: Methods: get/setSize
      • Class: org.dspace.checker.DSpaceBitstreamInfo
        + Line 137: Constructor
        + Line 202/213: Methods: get/setSize

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            kipkorir2008 Charles Kiplagat
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: