Skip to content

fix: importing collection with invalid keys returns error#7563

Merged
ihexxa merged 14 commits intodevelopfrom
fix-import-key
Jul 3, 2024
Merged

fix: importing collection with invalid keys returns error#7563
ihexxa merged 14 commits intodevelopfrom
fix-import-key

Conversation

@ihexxa
Copy link
Contributor

@ihexxa ihexxa commented Jun 19, 2024

Changes

  • fix: importing collection with invalid keys returns error
Screenshot 2024-07-03 at 14 07 47

Ref: INS-4008, #6179, #7459

@ihexxa ihexxa marked this pull request as draft June 19, 2024 08:20
@ihexxa ihexxa self-assigned this Jun 19, 2024
@ihexxa ihexxa marked this pull request as ready for review June 19, 2024 10:05
@ihexxa ihexxa marked this pull request as draft June 19, 2024 12:00
@ihexxa ihexxa marked this pull request as ready for review June 20, 2024 11:57
@jackkav
Copy link
Contributor

jackkav commented Jun 26, 2024

This doesn't fix the error it just shows a different error message and is unnecessarily computationally expensive to run since it walks the tree of every single import.
I suggest looking for a fix to make importing keys with . safe, or just leaving the original error, and doing nothing.

@ihexxa
Copy link
Contributor Author

ihexxa commented Jun 26, 2024

From the performance prospective, Im afraid that fixing keys also takes same time complexity and the original error doesn't provide a clear way to fix it.

@subnetmarco
Copy link
Member

@ihexxa What's the status on this issue?

@ihexxa ihexxa merged commit 5f65c0b into develop Jul 3, 2024
@ihexxa ihexxa deleted the fix-import-key branch July 3, 2024 12:45
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.

4 participants