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"] Error creating a tag in Swagger #125

Open
luisfelipec95 opened this issue Dec 27, 2024 · 0 comments
Open

["BUG"] Error creating a tag in Swagger #125

luisfelipec95 opened this issue Dec 27, 2024 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@luisfelipec95
Copy link
Contributor

Describe the bug
When attempting to create a tag, it shows the error: propKeyaccesserrorValue must be an integer.

To Reproduce
Steps to reproduce the behavior:

  1. Create a user with the eox-core endpoint `/eox-core/api/v1/user/
  2. Enable the following settings for the user created through the admin panel
  • Active
  • Staff Status
  • Superuser Status
  1. Add this to your tenant settings so we can tag users, enrollment objects, course overview objects, and set the current user as the owner_object:

"EOX_TAGGING_DEFINITIONS": [ { "access": "public", "owner_object": "site", "tag_type": "subscription_level", "validate_target_object": "user" }, { "access": "public", "owner_object": "site", "tag_type": "subscription_level_enrollment", "validate_target_object": "courseenrollment" }, { "access": "public", "owner_object": "site", "tag_type": "subscription_level_course", "validate_target_object": "OpaqueKeyProxyModel" }, { "access": "public", "owner_object": "user", "tag_type": "subscription_level_user", "validate_target_object": "user" } ]

  1. Go to https://tenant-a.sumac.releases.edunext.link/eox-tagging/api-docs/
  2. Create a tag with the post method

Expected behavior
Swagger can be used to execute the endpoints of eox-tagging.

Screenshots
image

@luisfelipec95 luisfelipec95 added bug Something isn't working help wanted Extra attention is needed labels Dec 27, 2024
@luisfelipec95 luisfelipec95 changed the title ["BUG"] ["BUG"] Error creating a tag in Swagger Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant