Skip to content

ResourceDefinition children and external-links are duplicated after every save #830

@dennisvang

Description

@dennisvang

How to reproduce:

  1. Run compose/fdp/ephemeral/v2/dev/fdp to set up postgres and fdp-client
  2. Run the current develop branch (e746e9a), with development profile,, from source
  3. Using a browser, visit the fdp-client at http://localhost:80
  4. Log in as the default admin@example.com
  5. Visit the "Edit Catalog" page (e.g. http://localhost/resource-definitions/a0949e72-4466-4d53-8900-9436d1049a4b)
  6. Observe that there are n child resources called Dataset (n=1, by default)
  7. Click "Save"
  8. Visit the "Edit Catalog" page again
  9. Observe that there are now 2*n child resources called Dataset
  10. repeat steps 7. to 9. until convinced.

This leads to the following:

Image

UPDATE:

The same happens for external links. This can be reproduced by repeating the steps above with the default Distribution resource.

Metadata

Metadata

Assignees

Labels

bugSomething's wrong

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions