-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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:
- Create a user with the eox-core endpoint `/eox-core/api/v1/user/
- Enable the following settings for the user created through the admin panel
- Active
- Staff Status
- Superuser Status
- 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" } ]
- Go to https://tenant-a.sumac.releases.edunext.link/eox-tagging/api-docs/
- Create a tag with the post method
Expected behavior
Swagger can be used to execute the endpoints of eox-tagging.
