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

deleted relation shows "relationNameUndefined" and can not be deleted from type #1166

Open
3 tasks done
0v3rr1d3-mc opened this issue Jan 21, 2025 · 3 comments
Open
3 tasks done
Labels
bug Something isn't working

Comments

@0v3rr1d3-mc
Copy link

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

I deleted a realtion, and it stills showed in a type, which show info as "relationNameUndefined", I cannot delete it or unlink it in my type.

Expected Behavior

The deleted relation disappear in all types at the same time.

Steps To Reproduce

I deleted a realtion, and it stills showed in a type, which show info as "relationNameUndefined", I cannot delete it or unlink it in my type.

Environment

- OS: Windows
- Version: 0.44.0

Anything else?

No response

@0v3rr1d3-mc 0v3rr1d3-mc added the bug Something isn't working label Jan 21, 2025
@ra3orblade
Copy link
Contributor

Video, screenshot please

@hjk201960
Copy link

alright, I repeat the process and it acts results like:

  1. create A and B type, along with their relation C to link A to B. C restricts constraint type B.
    Image

  2. delete relation C, and turn back to the panel of type A

  3. you will see relation C still left in the panel, and it cannot be unlinked or deleted, nothing happens when unlinked, null alert when deleted:
    Image
    Image

But I found it behaves different in my home pc and work pc, with the same win system and version of AnyType (it acts right in my home pc, the deleted relation C also dissappeared in type A, but not asynced status correctly with my anytype in work pc) , yet I don't know why.

Is any other info to put pls tell me. Thanks for help!

@ra3orblade
Copy link
Contributor

I see, thanks for the explanation.

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

No branches or pull requests

3 participants