Skip to content

Data loss when editing Entities with URL-like properties

Summary

When editing an Entity with an URL-like text property, long URLS get shortened like https://example.com/foo[...]. When saving the entity, the "[...]" gets saved verbatim as Property value.

Expected Behavior

The URL shortening should be at most cosmetic.

Actual Behavior

Data loss. See https://knowledgebase.indiscale.com/Entity/451@451095e9712544ed58f4c55bbe996892412d63d1, compared to its predecessor.

Steps to Reproduce the Problem

  1. Enter edit mode for an entity with long URL property.
  2. Do some unrelated changes.
  3. Save.
  4. Long URL will be broken

Specifications

  • Version: Current dev, probably
  • Platform: Linux

Possible fixes

No URL shortening in edit mode. See !55 (merged)

Edited by Timm Fitschen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information