sys_file_reference does not exists in workspace
We get the error "sys_file_reference:the-uid does not exists" (ajax response) in workspace mode.We have been able to replicate the issue following these steps :
- switch to a live edit
- create a news
- add a picture
- save the news
- switch to a workspace
- remove the picture
- go to filelist and delete the picture
Now if you try to display the changes in workspace mode, you got no changes because of a 500 internal error on the ajax request.
In my debug process, I figured out that entries in the 'sys_refindex' table (linked to the file) are not deleted when deleting the file, which creates the internal error.