Repository navigation
Files thumbnail fix - #14919
Files thumbnail fix#14919
Conversation
|
@georgehrke What do you think? |
There was a problem hiding this comment.
Why do you use DataResponse instead of the JSONResponse?
There was a problem hiding this comment.
Just to be more generic. So return JSON by default... but if the users prefers xml (or in the future some other format) return that.
|
Sorry to say, but this doesen't fix the issue. Just implemented the patch and got this instead: Ubuntu 14.04 with ownCloud in |
|
@enoch85 I guess this patch only works for master and you are on stable8(?!) |
|
@georgehrke Yes, that's correct. 8.0.2 to be specific. So this will be released with 8.1 or 8.0.3? |
|
@georgehrke @enoch85 Yes this patch only works on master. |
|
@rullzer Can I add something to get this to work with 8.0.2? Would save my day! |
|
@enoch85 you could try to just add https://github.com/owncloud/core/blob/master/lib/public/appframework/http/datadisplayresponse.php however no guarantees. Also, this means that this PR will (probably) not be backported to 8.0.3 |
|
Got this: Thanks for fixing this anyway! |
|
@enoch85 I do not know about that error. I think it is best to wait for 8.1 since else this would lead to a lot of backporting. Probably best to keep this issue to reviewing the proposed fix. So we can get it in 8.1. |
|
The fix works as long as I don't use the Android App. Before, my log was flooded even without using the app. FYI @rullzer |
There was a problem hiding this comment.
Use $server->getPreviewManager() here and add use ($server) to this method, then you don't need
|
👍 apart from the little comment |
|
@nickvergessen thanks. If Jenkins is happy I'll rebase and squash the commits. |
|
Works and no errors in the log 👍 |
|
Same failing tests as on master. nickvergessen is working on this -> merge |
|
Wait. I don't will merge this. We should wait on the fix to have the tests run on all databases |
|
🙈 |
|
@MorrisJobke yeah waiting is probably best :P |
* Only use public interfaces - Injected IPreview * Added unit tests
|
The inspection completed: 4 new issues, 3 updated code elements |
|
Refer to this link for build results (access rights to CI server needed): |
Using OC_Image->show() already sends headers. So don't use that if more headers are required.
Related issues #12712 and #14378