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

🤔 [ISSUE] - Bulk Blocks and Links Deletion Logic #363

Open
medchedli opened this issue Nov 22, 2024 · 2 comments
Open

🤔 [ISSUE] - Bulk Blocks and Links Deletion Logic #363

medchedli opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@medchedli
Copy link
Contributor

medchedli commented Nov 22, 2024

Description

Currently, the implemented logic for bulk blocks and links deletion only covers deleting one link at a time. However, the user should be able to select multiple links simultaneously or select a combination of multiple blocks and links and trigger the action to delete them all in one go.

Reproduction steps

1. Attempt to select multiple blocks and links at the same time
2. Trigger the action to delete the selected items.

Expected Behaviour:
All selected links and blocks should be deleted in one action.

Actual Behaviour:
Only one selected link is deleted, while the rest of selected items remain.
@marrouchi
Copy link
Contributor

@medchedli is this the same issue as #354 ?

Can we merge both in a single issue ?

@medchedli
Copy link
Contributor Author

@medchedli is this the same issue as #354 ?

Can we merge both in a single issue ?

Based on the error logs, the issue is related to a type mismatch issue with MongoDB/Mongoose where UUIDs are being used as _id values but the schema expects ObjectIds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants