Querying instant spells (via api) by userId fails

Issue #35 resolved
Former user created an issue

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)

  1. Guido

    Ah, I wasn't logged in. Anyway, that's my issue, in case you need more details, you know where to find me :)

  2. Kyle

    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

  3. Log in to comment