-
Notifications
You must be signed in to change notification settings - Fork 159
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
Image that is uploaded first, if opened first the picture is not displayed in the image media viewer in ocis backend #6289
Comments
@SwikritiT please try to see if that works with an older version of web (as it works with the web that is compiled into ocis) |
I think the problem with the media viewer arose from this owncloud/ocis#2739 PR in ocis. I couldn't track it down to a single commit because a lot of ocis commits didn't build properly and I had to skip them. Upon git bisect, it showed that one of these might be the first faulty commits.
Surprisingly I couldn't reproduce the problem in the current master ocis. It can be reproduced in commits from this PR owncloud/ocis#2739 to this owncloud/ocis#2989 but after this commit, it cannot (so maybe it fixed it?) owncloud/ocis@0bfc1f0 I also tried to reproduce it with the previous version of the web and yes it can be reproduced if the ocis is between owncloud/ocis#2739 to this owncloud/ocis#2989 commit |
Yes, the problem is not happening in CI any more when it points to the very latest oCIS commit id. So "something happened" in the last week or so that fixed it. |
The image that is uploaded first, if opened first the picture is not displayed in the image media viewer
Steps to reproduce
docker-compose pull
docker-compose up ocis selenium vnc
Access
ocis
throughvnc
Log in to
Einstein
upload
testavatar.jpg
first and then uploadtestavatar.png
Now open
testavatar.jpg
in a media viewer through the details panel. A blank white screen is shown instead of a picture.Go to the next picture
testavatar.png
through the media viewer. It displays.testavatar.png
testavatar.png
first (i.e the image that was uploaded second) through details panel. It's displayed.Expected behaviour
The image should be displayed no matter the order of upload.
Actual behaviour
As described above
The text was updated successfully, but these errors were encountered: