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

Error in update-sequences script in 4.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: None
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      In dspace/etc/postgres/update-sequences.sql is an error.

      It's:
      SELECT setval('webapp_seq', max(id)) FROM webapp;

      But should be
      SELECT setval('webapp_seq', max(webapp_id)) FROM webapp;

      Because there is no column id the result is an error like this:
      ERROR: column "id" does not exist
      LINE 1: SELECT setval('webapp_seq', max(id)) FROM webapp;

        Attachments

          Activity

            People

            • Assignee:
              helix84 Ivan Masár
              Reporter:
              christian.scheible Christian Scheible
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: