-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple tags are added as one huge tag #1651
Comments
Heh, as a new Shaarli user, I assumed this was working as designed and I just needed to delimit the tags differently 😄 |
Actually I was misusing the python client. It should be:
And not:
Meaning that as specified in the documentation, an array of tags should be provided instead of a string. But it wouldn't harm to be more permissive. So I suggest the following:
|
Thank you, I've reopened the Shaarlier issue as requested :) |
Even though the documentation specify that tags should be passed as an array, tags string is actually allowed. So this adds a proper parsing with configured separator. Related to shaarli#1651
Thank you, I'm closing this as my first point has been done and merged, and other issue are not in this repo. |
Thank you! Building on the latest Shaarli master image (https://hub.docker.com/layers/shaarli/shaarli/master/images/sha256-2acd7f5abf8b4166785bee43146331587d963bbb48b96224be74f32e880d861a?context=explore), I can't see any change, the space-separated Shaarlier tags are still created as one huge tag. Only after an edit or pin action they are separated. I assumed this PR would parse them correctly (addig backwards compatibility for string), although they still needed to be sent as an array from Shaarlier to comply with the API spec on the long run. |
:( I will give it a try with Shaarlier to see what's going on. |
I use the API key login if it helps. |
I'm sorry, it works, closing the issue now 😃 Post mortem related to #1673 (comment) : Keel force updated the deployment when the new image was built but the pull policy was |
Moved here from: dimtion/Shaarlier#55
Huge tags also show up in the tag search after a share is created:
The web is also displaying the one huge tag:
After hitting save, the tags are separated fine:
ArthurHoaro commented 42 minutes ago:
The text was updated successfully, but these errors were encountered: