Skip to content

[Bug]: Deleting a property pollutes the change log, since it deletes the whole class and recreates it #153

Description

@arne-bdt

Summary

Adding a new property to a class creates a clear entry in the change log.
Deleting a property from a class creates an "Updated class" entry, where all triples defining the clase are deleted and added again, except for the deleted property.

Steps to reproduce

  1. add DiagramLayout
  2. add a propert "test" to the DiagramObject
  3. save
  4. delete the property "test" from the DoagramObject
  5. save
  6. look into the change log, where you can not easily see, that a singe property has been deleted an nothing else changed,

Expected behavior

  • analog to the "created attribute" entry, there should be a "deleted attribute" entry instead.

  • Names in the changelog should be the real names and not internal UUIDs
    "Created attribute 772d1882-2614-4410-a1c7-4a0b988fd208" --> "Created attribute "DiagramObject.test""
    "Updated class 54f8e913-cb08-4331-b615-48a79c5dd8fa" --> "Updated class "DiagramObject""

Actual behavior

see above

Impact

Minor issue

RDFArchitect version

1.1.0-11-g7c39cbc5

Environment

any

Logs and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions