Skip to content

2.12分支报错 #770

@dfreng

Description

@dfreng

1.分支2.12,用户管理,编辑时,报错,jetlinks-web-core/src/api/system/positions.ts 和所有和职位相关的代码后端接口不存在,导致404错误。什么时候能开源对应服务接口呢?

2.http://localhost:8848/api/menu 按钮更新或新增时,反序列化报错,问题根源: 后端2.11 版本只实现了 @JsonGetter 用于序列化,缺少 @JsonSetter 用于反序列化,
http://localhost:9100/api/menu 请求信息为: {"id":"bf8bc8d82d04dfcaf2ee8455f8f04817","parentId":"bd55cdc9d0c1700afe628f572f91c22e","path":"se8B-U2CN-FOGH","sortIndex":5,"level ":3,"owner":"iot","name":"指令管理","code":"base/deviceCommand","describe":"","url":"/base/deviceCommand","icon":"icon-wangguanzishebei","status":1,"permissions":[{"permission ":"device-command","actions":["operate","edit","import ","query","save","delete","export"]}],"creatorId":"21232f297a57a5a743894a0e4a801fc3","createTime":1765269039043,"accessSupport":{"text":"不支持","value":"unsupported"},"suppor tDataAccess":false,"i18nName":"指令管理","buttons":[{"name":"add","id":"add","permissions":[{"permission":"device-command","actions":["save"]}],"description":""}]} 返回结果为:{ "message": "Cannot deserialize value of type java.lang.Stringfrom Object value (tokenJsonToken.START_OBJECT)\n at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: org.jetlinks.community.auth.entity.MenuEntity[\"accessSupport\"])", "status": 400, "code": "illegal_argument", "timestamp": 1765790520526 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions