The new Bookmark object and its service introduced in v0.12 remove custom data set by save_link plugin hooks.
This behavior has two drawbacks:
- All custom data set when saving new links are lost (e.g. with the provided demo_plugin)
- All custom data set on links saved with previous versions of Shaarli are lost when
updateMethodMigrateDatabase is executed
Bookmark::fromArray() should support a custom key to let plugins add again custom data.
Example of plugins saving custom data on links: via
The new Bookmark object and its service introduced in v0.12 remove custom data set by
save_linkplugin hooks.This behavior has two drawbacks:
updateMethodMigrateDatabaseis executedBookmark::fromArray()should support a custom key to let plugins add again custom data.Example of plugins saving custom data on links: via