Legacy Web on 6.5

tambiua month ago

Hi, I am geting an error when I need to change or create users using legacy web on traccar 6.5, and on default (modern) its works ok. I have migrated from 5.12, but my users prefer using legacy version.

Unrecognized field "twelveHourFormat" (class org.traccar.model.User), not marked as ignorable (25 known properties: "readonly", "limitCommands", "deviceLimit", "poiLayer", "fixedEmail", "login", "name", "latitude", "administrator", "phone", "longitude", "userLimit", "temporary", "zoom", "attributes", "deviceReadonly", "id", "email", "totpKey", "coordinateFormat", "disableReports", "password", "map", "disabled", "expirationTime"])
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 452] (through reference chain: org.traccar.model.User["twelveHourFormat"])
tambiua month ago

I did the legacy web folder from instructions from

https://www.traccar.org/build-extjs/

Maulana22 days ago

hello, i have same cases. how do you manage to make it work?

LiberSat22 days ago

you need to remove

{
        name: 'twelveHourFormat',
        type: 'boolean'
    },

from /master/legacy/web/app/model/User.js

and compile again and get folder legacy and put on folder traccar

they did not fix this yet, so you need to do by yourself

You need to follow https://www.traccar.org/build-extjs/ to help you to compile

Anton Tananaev22 days ago

Feel free to send a pull request.