Uploaded image for project: 'Hydra UVa Libra'
  1. Hydra UVa Libra
  2. HYLIBRA-379

File asset links in public Dataset submissions are not available unless the user is signed in

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.16
    • Component/s: Datasets
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4

      Description

      The links to the file assets contained in a Dataset which have been released with world access are not visible unless the user is signed in through NetBadge; they should be visible regardless of the user.

      The problem appears to stem from the fact that Uva::CommonModelMethods.apply_release() [lib/uva/common_model_methods.rb:20] fails to set "read_access_group_t" to the value of the "release_to" field from the "properties" datastream in the case where the field value is "public_dataset".

      In addition to fixing the code and ensuring that the problem is resolved for newly-created Datasets, also make sure that previously-created Datasets have been corrected as well.

      The problematic Dataset entries on the production server:

      http://ir.lib.virginia.edu/catalog/libra-oa:2966
      http://ir.lib.virginia.edu/catalog/libra-oa:2781
      http://ir.lib.virginia.edu/catalog/libra-oa:2638
      http://ir.lib.virginia.edu/catalog/libra-oa:2604

      Problematic Dataset entries on the development server:

      http://irdev.lib.virginia.edu/catalog/libra-oa:758
      http://irdev.lib.virginia.edu/catalog/libra-oa:751
      http://irdev.lib.virginia.edu/catalog/libra-oa:728
      http://irdev.lib.virginia.edu/catalog/libra-oa:724
      http://irdev.lib.virginia.edu/catalog/libra-oa:720
      http://irdev.lib.virginia.edu/catalog/libra-oa:704
      http://irdev.lib.virginia.edu/catalog/libra-oa:649
      http://irdev.lib.virginia.edu/catalog/libra-oa:638
      http://irdev.lib.virginia.edu/catalog/libra-oa:633
      http://irdev.lib.virginia.edu/catalog/libra-oa:624
      http://irdev.lib.virginia.edu/catalog/libra-oa:617
      http://irdev.lib.virginia.edu/catalog/libra-oa:593

        Attachments

          Activity

            People

            • Assignee:
              xw5d Xiaoming Wang
              Reporter:
              rwl Ray Lubinsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: