When updating a resources for second+ time, clients with system time set few minutes in the past get the error: "Another user has updated this resource since this page was loaded. Please refresh the page and try again." #3204
-
Detailed steps to reproduce the issue on a fresh Nova installation:Important: wouldn't work if server is on same computer with client, as the time is same
Having the system time set in the past doesn't seem to have any practical use, but there are users like that for some reason, and the text of the error doesn't help figuring out the cause of the problem for them. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Laravel Nova implements Traffic Cop feature to prevents a user from modifying a resource that has been updated by another user, the If you have to use Nova with the above setup please disable Traffic Cop. See https://nova.laravel.com/docs/3.0/resources/#disabling-traffic-cop |
Beta Was this translation helpful? Give feedback.
Laravel Nova implements Traffic Cop feature to prevents a user from modifying a resource that has been updated by another user, the
updated_at
field is used to identify if the resource has been modified.If you have to use Nova with the above setup please disable Traffic Cop. See https://nova.laravel.com/docs/3.0/resources/#disabling-traffic-cop