Skip to content

🐛 Bug Report: Enum attribute named 'relationship' cannot be edited #8760

Closed

Description

@tneotia

👟 Reproduction steps

  1. Create an enum attribute named "relationship" in any collection
  2. Once processed, try to edit the enum by adding/removing possible values (or any other edit)
  3. See error: Attribute with the requested ID could not be found

👍 Expected behavior

Edits should complete successfully.

👎 Actual Behavior

Image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added
    bug
    on Oct 4, 2024
  2. CodeAnk2829 commented on Oct 6, 2024

    @CodeAnk2829

    It seems that using an attribute with the same name as the collection could cause issues. Try using a different name, like relations, and it should work fine.

  3. Shlok1999 commented on Oct 7, 2024

    @Shlok1999

    I created an enum named relationship in a different collection, and it shows me the same error, and I am not able to edit or delete it.
    I would like to work on this issue, can you assign it to me?

  4. tneotia commented on Oct 7, 2024

    @tneotia
    Author

    Hi @CodeAnk2829 , sorry I should clarify, the enum is named "relationship" but the collection is not, the collection can be named anything. In either case though, probably something that needs to be fixed.

  5. added
    feature / relationships
    on Oct 26, 2024
  6. added
    product / databases
    and removed
    feature / relationships
    on Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproduct / databases

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions