Skip to content
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

[Bug Report] Importing bookmarks adds all tags to all bookmarks #421 #428

Merged

Conversation

kamtschatka
Copy link
Collaborator

fixed an issue that caused all existing tags to be assigned to a new bookmark

…er-app#421

fixed an issue that caused all existing tags to be assigned to a new bookmark
@MohamedBassem
Copy link
Collaborator

Oh, that's an ugly bug. I think I'll have to cut a hotfix for this one.

@MohamedBassem
Copy link
Collaborator

I think if the user is passing an object with both tagName and tagId as empty, then the request is invalid. Let me change the check to be a zod validation instead.

@kamtschatka
Copy link
Collaborator Author

but that will show up as a lot of errors then?
you'll at least have to prevent it on the client side as well, or not?

@MohamedBassem
Copy link
Collaborator

@kamtschatka Yeah, I found the bug in the client side. Apparently I fixed it for Pocket but not for the netscape importer.

@MohamedBassem MohamedBassem merged commit 12d3371 into hoarder-app:main Sep 26, 2024
3 checks passed
@MohamedBassem
Copy link
Collaborator

The frontend fix: 4db50c2

@kamtschatka kamtschatka deleted the bookmark-import-tag-duplication branch September 26, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants