[Bug]: Link to map
to a custom map failed if the custom map already have another linked favorite, unless manually edit .favorites_share.json
#1288
Labels
Bug description
If a custom map already have a linked favorite,
Link to map
on a second favorite to that custom map will failed, unless manually edit.favorites_share.json
to add the second link.Steps to reproduce
CUSTOM MAP
Default
map, create a favorite point named1
with categoryA
Default
map, create a favorite point named2
with categoryB
Default
map, inMy favorite
menuA
, click on 3-dot, then clickCreate share link
Default
map, inMy favorite
menuB
, click on 3-dot, then clickCreate share link
Default
map, inMy favorite
menuA
, click on 3-dot, then clickLink to map
, choose/Maps/CUSTOM MAP
folderFavorite category linked to map CUSTOM MAP
Default
map, inMy favorite
menuB
, click on 3-dot, then clickLink to map
, choose/Maps/CUSTOM MAP
folderFailed to link Favorite category to map CUSTOM MAP
Expected behavior
Message:
Favorite category linked to map CUSTOM MAP
for favorite categoryB
Now the work around is manually editing the
.favorites_share.json
to add the favorites.We cannot share
Default
map to others, we can only share one of theDefault
maps favorite to others (by link).But we can share a
CUSTOM MAP
to others (by link/ by accounts, with view only permission), so when this bug is resolved, I can link the wholeDefault
map toCUSTOM MAP
and share it to other accounts.Installation method
Other
Operating system
Other
PHP engine version
PHP 8.1
Web server
Nginx
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install of the server?
None
Is this bug present after an update or on a fresh install of the app?
None
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
No response
List of activated Apps
Nextcloud Signing status
No response
Nextcloud Logs
No response
Browser Console
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: