-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix template rendering for 'blank' templates #9914
Conversation
And it's essential for the music app ;) |
And this also needs a backport to stable6. Then the music app master code base runs on stable6 and stable7. |
👍 |
@owncloud-bot retest this please |
💣 Test Failed. 💣 |
gnaah ... always different swift tests -.- |
Works - tested 👍 |
@owncloud-bot retest this please |
💣 Test Failed. 💣 |
@MorrisJobke both @sumansai14 and I tested this, and it works again! 👍 :) |
@owncloud-bot retest this please |
@butonic @DeepDiver1975 What to do with those swift tests?
|
@karlitschek Is the backport permitted? |
Yes. Backport please |
💣 Test Failed. 💣 |
@butonic @DeepDiver1975 @MorrisJobke so what about the failing swift tests? Are they related? |
rebased, iirc a fix for the swift tests is in master |
The inspection completed: No new issues |
💣 Test Failed. 💣 |
Still failing – what to do here? @DeepDiver1975 @icewind1991 please advise. |
The same tests fail on master -.- |
failing unit tests are unrelated -> merge |
Fix template rendering for 'blank' templates
See http://api.owncloud.org/classes/OCP.AppFramework.Http.TemplateResponse.html
setRenderAs
This was previously done in a helper class https://github.com/owncloud/music/blob/stable5/appframework/http/templateresponse.php#L118 -> https://github.com/owncloud/music/blob/stable5/appframework/core/api.php#L385:L389
cc @Raydiation @DeepDiver1975 @PVince81 @karlitschek
This needs backport to stable7 because it's a broken behaviour of the public API.