You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Badgr website they have changed the way they send the badge json. Now, there aren't entity_type nor extensions.
The following error is raised:
packages\badgr_lite\models.py", line 68, in _check_missing_but_required
raise exceptions.RequiredAttributesMissingError(
badgr_lite.exceptions.RequiredAttributesMissingError: extensions, entity_type
Proposed solution that worked for me: change model for Badge object:
1- go to models.py
2- delete from REQUIRED_JSON the strings "entityType" and "extensions"
Now it works
The text was updated successfully, but these errors were encountered:
@BecTome I ran into the same issue when doing a major update recently (not yet released). So, excellent bug report. I also did the same approach that you did.
If you wish to put a PR in, I'll merge it tonight. Otherwise, I'll make the same change and get it PRd and merged into develop tonight. There's also a fix for the command line being missed.
I have a dependency update refresh that will take longer. But, I can get these two changes fixed today for the dependencies that are here now.
In Badgr website they have changed the way they send the badge json. Now, there aren't entity_type nor extensions.
The following error is raised:
packages\badgr_lite\models.py", line 68, in _check_missing_but_required
raise exceptions.RequiredAttributesMissingError(
badgr_lite.exceptions.RequiredAttributesMissingError: extensions, entity_type
Proposed solution that worked for me: change model for Badge object:
1- go to models.py
2- delete from REQUIRED_JSON the strings "entityType" and "extensions"
Now it works
The text was updated successfully, but these errors were encountered: