-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Broken file when trying to copy a file to folder. #17241
Comments
Need to fix this. What code.path is causing this? |
|
PR: #17272 |
The case is fixed, it is just taking some time to be reflected on the site browser probably b/c it is using DEFER |
Fixed, tested on master // Postgres // FF |
On site-browser Create a file asset upload an image. Hit save and publish.
Then locate the file recently created. use the contextual menu option
Mark-for-copy
Select another folder then again from the contextual menu chose
paste
On this step, the exception isn't evident and it looks like the file was copied successfully.
if you attempt again to perform another copy by marking the file (the one we just pasted) and use again the contextual menu option
Mark-for-copy
then select another folder and hit paste again you'll see an exception like :ERROR ajax.BrowserAjax - Error trying to copy the file to folder.
com.dotmarketing.portlets.contentlet.business.DotContentletStateException: Cannot checkin 0 length file: /Users/fabrizzio/code/servers/server1/assets/tmp_upload/dotcms.org.1/actn-legioss.jpg
The file exists on that path but it's empty.
The text was updated successfully, but these errors were encountered: