Querying instant spells (via api) by userId fails
Issue #35
resolved
Like the title says.
/api/ops/instant?userId=1
works just fine, but
/api/spells/instant?userId=1
yields an error:
2018-02-13 12:12:59,352 ERROR (ExceptionHandler.java:toResponse:44)
Caught base Exception for web service request
org.hibernate.QueryException: could not resolve property: caster of: database.models.InstantSpell
at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:83)
at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:77)
Comments (3)
-
-
Somehow I stopped getting email alerts for these which is why I missed this. I'll try to get that set up again.
Anyway, good catch, this was a 0-day that was the result of "caster" vs "committer" text misuse in the bot. I've fixed it 3.39b
-
- changed status to resolved
- Log in to comment
Ah, I wasn't logged in. Anyway, that's my issue, in case you need more details, you know where to find me :)