Field Layouts not Saving

Expected behavior

  • On saving Fields Layout, it should be saved and be persistent

Actual behavior

  • On saving Fields Layout, it is not saved and is lost on refresh

Failure Logs

POST: /api/layout

Request

[{"path":"undefined/position","op":"replace","value":5},{"path":"undefined/position","op":"replace","value":4}]

Response:

{"errors":[{"status":422,"detail":"Invalid JSON Patch operations: {\"name\":\"OPERATION_PATH_INVALID\",\"index\":0,\"operation\":{\"path\":\"undefined/position\",\"op\":\"replace\",\"value\":5}}","meta":{}}]}
  • Package Version: 6.1.1
  • Express Version: 4.16.3
  • Sequelize Version: 5.15.1
  • Database Dialect: PG
  • Database Version: PG12
  • Project Name: Novelship-Admin

Hi @vigzmv, and welcome to our community !

Iā€™m currently not able to reproduce (I might have missed something), and it seems like a fix was pushed last Friday for a similar issue. Would you mind refreshing your browser and tell me if you still reproduce this issue ?

Thanks in advance :pray:

Thanks, after a browser cache clear everything works good.

1 Like