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

metadataschemaregistry_seq is not initialized correctly under Oracle

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.2
    • Fix Version/s: 1.6.0
    • Component/s: DSpace API
    • Labels:
      None
    • Environment:
      Oracle database
      Java 1.5.
      MacOS 10.5.6
    • Attachments:
      1
    • Comments:
      2

      Description

      The first attempt to add a new metadata schema fails, because the sequence metadataschemaregistry_seq is initialized to the default of 1, while there is already a row with ID 1 (inserted in databse_schema.sql).

      The easiest fix is probably just initializing the sequence to start with 2, as is done for epersongroup_seq. If I get the time to try it, I'll submit a patch.

        Attachments

          Activity

            People

            • Assignee:
              stuartlewis Stuart Lewis
              Reporter:
              lcs Larry Stone
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: