kugra-al / al-laravel

Status: live
0 stars 0 forks source link

Uncaught Error: Syntax error, unrecognized expression: #/obj/items/alchemy/toxic_incense.itm #25

Closed kugra-al closed 1 year ago

kugra-al commented 1 year ago

Because of https://github.com/kugra-al/al-laravel/commit/88f5c50b1191b22df1977f32baaf0525db00dce0, primary key is now fullpath. Frontend is likely expecting an incrementing int as primary key, so it's failing trying to use a string.

Everything else seems to work, just get this error sometimes when sorting columns. Think I remember some internal ID that can be used instead

kugra-al commented 1 year ago

Some stuff here, but nothing useful

https://github.com/yajra/laravel-datatables/issues?q=is%3Aissue+primarykey

Error only happens sometimes. And it's only in console, everything else seems to work fine. If this causes problems, need to revert back to using incrementing id (but call it something else so the itm id works)

kugra-al commented 1 year ago

This breaks sorting sometimes. Need to have an int as id here db_id works.