explorerhq/sql-explorer

<INVALID: query.sql>

gabriels1234 opened this issue · 6 comments

version: django-sql-explorer==5.2 (updated from django-sql-explorer==2.3)

image

I couldn't find anything related.

Will update if I get more findings.

What have you dont that's lead you to this page?

Clicked on the Playground link, I believe. will update.

Now I'm getting this:

BadSignature at /explorer/play/

image
Tried reverting versions, etc. will start afresh and see what happens.

Confirmed: running ==5.2
accessed via: /explorer/play

image

@marksweb I reverted to 3.2 and the issue is still there (it's a local copy, can destroy the db and try over and over). At this point I'd say the issue is in my code (maybe?), but just in case I'd check <textarea class="form-control" cols="40" id="id_sql" name="sql" rows="20">{{ query.sql }}</textarea> that has no checks for query.sql to exist.
I can leave with: <INVALID: query.sql> for the time being.

Eventually, reinstalling fixed the issue. I found out the <INVALID: ...> is a custom setting so Other would probably not see it...
Closing.