You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Values true/false are now double-quoted. It was on 9.1.x: "installed":true,"maintenance":true, but on 10.x is: "installed":"true","maintenance":"false",
Actual behaviour
For consistency reasons this should not have changed. It could indeed create issues with Load Balancers expecting a well given string
Server configuration
Operating system:
Ubuntu 16.04
Web server:
Apache 2.4
Database:
MariaDB 10
PHP version:
7.0.x
ownCloud version: (see ownCloud admin page)
10.0.3
Updated from an older ownCloud or fresh install:
Updated from 9.1.x
Probably this is the commit introducing the change: a717315
@mmattel I don't think this change is intented so it could be a potential regression. Could you comment please ?
@mmattel can you clarify whether the change from boolean to strings was intentional ?
This would need updating the release notes and documentation as some people use scripts to parse these values. I know you're the kind of person who always request docs additions and as far as I remember you didn't here, so maybe the change was not intentional ? 😄
If not intentional, we should add this to the "known issues" in the release notes.
@mmattel thanks for confirming. Can you make a PR to adjust it and another one to the release notes page in the documentation to mention that it's a known issue ?
Activity
[-]Chnage in status.php from 9.1.x to 10.x[/-][+]Change in status.php from 9.1.x to 10.x[/+]PVince81 commentedon Oct 13, 2017
@mmattel can you clarify whether the change from boolean to strings was intentional ?
This would need updating the release notes and documentation as some people use scripts to parse these values. I know you're the kind of person who always request docs additions and as far as I remember you didn't here, so maybe the change was not intentional ? 😄
If not intentional, we should add this to the "known issues" in the release notes.
mmattel commentedon Oct 16, 2017
It was not intentional to change the type of the output - I am in sorry for that 😧
How to proceed...?
PVince81 commentedon Oct 16, 2017
@mmattel thanks for confirming. Can you make a PR to adjust it and another one to the release notes page in the documentation to mention that it's a known issue ?
PVince81 commentedon Oct 16, 2017
(don't be alarmed by the word "urgent", it basically just means it's a showstopper for the next release)
PVince81 commentedon Oct 16, 2017
@SergioBertolinSG can we have an integration test that simply checks the output of status.php in a way that the data type is asserted as well ?
SergioBertolinSG commentedon Oct 16, 2017
@PVince81 sure.
mmattel commentedon Oct 16, 2017
PR is here: #29261
lock commentedon Aug 1, 2019
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.