Skip to content

Changes to Resource schema are lost after upgrade #822

@dennisvang

Description

@dennisvang

After upgrading from 1.16.2 to 1.18.1 (or 1.17.x), changes made to the Resource metadata schema are reverted.

Actually, a new metadata schema version is created with the shacl from 0016_shape-resource.ttl (introduced in 1.17).

How to reproduce

  1. specify versions: export FDP_VERSION=1.16.2 FDP_CLIENT_VERSION=1.16.3

  2. cd into compose/fdp/persistent/v1 and docker compose up -d

  3. in browser, login in as admin, change the Resource metadata schema, and publish as 1.0.1

  4. update versions: export FDP_VERSION=1.18.1 FDP_CLIENT_VERSION=1.18.1

  5. update containers by calling docker compose up -d again

  6. visit http://localhost/schemas and observe the updated Resource schema version: 1.0.2

    Image
  7. edit the schema and observe that changes from 3. have been reverted

  8. clean up: docker compose down --volumes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething's wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions