Please use GitHub reactions 馃憤 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
When a card is created from the Android app, every "save" adds another one to all existing labels, so that the label is included multiple times. The effect does not show when a card is created in the web interface and then saved from Android.
To reproduce
Issue is reproducible with an account from try.nextcloud.com:
Steps to reproduce the behavior:
... on any save action, one more label of previous selected labels is added
Expected behavior
A save action should only save what's on the editor screen
Screenshots


Versions
Smartphone (please complete the following information):
Are you using LDAP?
Stacktrace
Thank you for the report. While i agree that the Android app has clearly a bug here, i still would like to mention @juliushaertl as this should be fetched at least at the API 馃槃
on the web app it is really weird how to get rid of the multiple labels. If you click on the label in the list one dissappears at a time, not all at once...
on the web app it is really weird how to get rid of the multiple labels. If you click on the label in the list one dissappears at a time, not all at once...
True .. also for me all Android app created cards get labels added, not just the one I'm saving.
@reox In the Web UI, click on the tags, you will see your tag with a check in front of it. You can click multiple times on it (without leaving the edit mode or save the card). Click as often as you need to remove all the wrong tags as a workaround.
For me, all cards created from the Android app get additional labels, not just the one I'm saving.
Ok, I was able to reproduce it. Most likely my fault, I'll fix that as soon as possible.
Yep, I found it, it is the same as here: #640
Root cause:
https://github.com/nextcloud/Android-SingleSignOn/issues/231
I guess we're blocked here.
Can I get confirmation of one thing? Until there is fix for this issue, I should avoid creating cards within the Android app, correct? My understanding is that cards created from the web app don't have the same issue.
@aproposnix almost, you can create cards as many as you want, the problem relies in the labels assignment
what actually happens:
Again: @juliushaertl yep, we have a bug here, but the backend should answer 200 or 204 and not do anything else, if the label is already assigned.
EDIT:
@aproposnix i guess you are asking for a quickfix? clone the card, delete the original one and do not assign a label via app, assignments done in web-UI are safe. do the steps from web ui, since deleting cards has the same issue (no answer, SSO error, still marked as "to delete")
Fix shipped with 1.9.7.
thank you everyone who worked to resolve this! I can confirm from my side that I'm not getting duplicated tags.
@aproposnix you're welcome 馃槃, sorry for the inconveniences!