Skip to content

Change in status.php from 9.1.x to 10.x #29228

Closed

Description

@pako81

Steps to reproduce

  1. Upgrade from 9.1.x to 10.x
  2. Check status.php

Expected behaviour

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 ?

Activity

  1. changed the title [-]Chnage in status.php from 9.1.x to 10.x[/-] [+]Change in status.php from 9.1.x to 10.x[/+] on Oct 12, 2017
  2. added this to the triage milestone on Oct 13, 2017
  3. PVince81 commented on Oct 13, 2017

    @PVince81
    Contributor

    @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.

  4. added
    p2-high
    on Oct 13, 2017
  5. mmattel commented on Oct 16, 2017

    @mmattel
    Contributor

    It was not intentional to change the type of the output - I am in sorry for that 😧
    How to proceed...?

  6. PVince81 commented on Oct 16, 2017

    @PVince81
    Contributor

    @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 ?

  7. modified the milestones: triage, development on Oct 16, 2017
  8. added
    p1-urgent
    and removed
    p2-high
    on Oct 16, 2017
  9. PVince81 commented on Oct 16, 2017

    @PVince81
    Contributor

    (don't be alarmed by the word "urgent", it basically just means it's a showstopper for the next release)

  10. PVince81 commented on Oct 16, 2017

    @PVince81
    Contributor

    @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 ?

  11. SergioBertolinSG commented on Oct 16, 2017

    @SergioBertolinSG
    Contributor

    @PVince81 sure.

  12. mmattel commented on Oct 16, 2017

    @mmattel
    Contributor

    PR is here: #29261

  13. lock commented on Aug 1, 2019

    @lock

    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.

  14. locked as resolved and limited conversation to collaborators on Aug 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

blue-ticketneeds infop1-urgentregressionstatus/STALE

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions