nextcloud/apps/files_sharing
Daniel Calviño Sánchez 4f58d490d1 fix: Fix error when creating mail shares if custom tokens are enabled
When a new share is saved it is first created in the backend and then
updated with some additional attributes set in the frontend. If custom
tokens are enabled the attributes to update also include the token.
However, for new shares the token is set by the backend when it is
created, it is not defined by the frontend, so the token returned by the
backend needs to be copied to the share data in the frontend. Otherwise
the update would fail because an empty token is sent.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2026-05-18 16:21:35 +02:00
..
appinfo feat(files_sharing): Add indexes for target on share and share_external 2026-01-16 08:32:14 +01:00
composer Revert "[stable33] Revert "Stable33 authoritative share"" 2026-04-28 15:49:33 +02:00
css chore(files_sharing): remove leftover of legacy files ui 2025-07-31 21:09:43 +02:00
img chore: Make app icons consistent Material Symbols with same settings 2024-07-10 15:53:45 +02:00
l10n fix(l10n): Update translations from Transifex 2026-05-16 00:24:15 +00:00
lib fix: avoid checking share validity during mount updates 2026-04-28 15:49:43 +02:00
src fix: Fix error when creating mail shares if custom tokens are enabled 2026-05-18 16:21:35 +02:00
templates chore(files_sharing): remove leftover of legacy files ui 2025-07-31 21:09:43 +02:00
tests fix: properly remove mount with moved child-shares 2026-04-28 15:49:42 +02:00
.l10nignore chore: Add SPDX header 2024-06-02 20:00:00 +02:00
openapi.json chore: update openapi 2026-04-21 19:14:14 +02:00
openapi.json.license chore: Add SPDX header 2024-06-02 20:00:00 +02:00