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

item.getMetadata(String mdString): issue for fields with upper case letter.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.7.0
    • Fix Version/s: 1.7.1, 1.8.0
    • Component/s: DSpace API
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      case 1:
      metadata field: dc.coverage.stylePeriod
      item.getMetadata(String mdString) return an empty DCValue[]

      case2:
      metadata field: dc.coverage.styleperiod
      item.getMetadata(String mdString) return a full DCValue[]

      I am forced to name the metadata field not using upper case letter.

      The following line should be corrected:
      Item.java(497) tokens[i] = dcf.nextToken().toLowerCase().trim();

        Attachments

          Activity

            People

            Assignee:
            stuartlewis Stuart Lewis
            Reporter:
            fabio0311 Fabio Bolognesi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: