? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
6 May 2021

Summary of Changes

add JSON_PRETTY_PRINT to json_encode to get human readable JSON output when exporting System Information.

Testing Instructions

Joomla 4 admin -> System -> System Information -> Download as JSON

Actual result BEFORE applying this Pull Request

Export is a single VERY long line unreadable by average humans.

{"info":{"php":"Linux ec6b3406c377 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64","dbserver":"mysql","dbversion":"8.0.22","dbcollation":"utf8mb4_unicode_ci","dbconnectioncoll<snip>

Expected result AFTER applying this Pull Request

Prettier output still useable by machines, but readable by humans, cats and printable on cups of coffee...

{
    "info": {
        "php": "Linux ec6b3406c377 5.10.25-linuxkit #1 SMP Tue Mar 23 09:27:39 UTC 2021 x86_64",
        "dbserver": "mysql",
        "dbversion": "8.0.22",
        "dbcollation": "utf8mb4_unicode_ci",
        "dbconnectioncollation": "utf8mb4_0900_ai_ci",
        "dbconnectionencryption": "",
        "dbconnencryptsupported": true,
        "phpversion": "7.4.18",
        "server": "nginx\/1.19.4",
        "sapi_name": "fpm-fcgi",
        "version": "Joomla! 4.0.0-beta8-dev Development [ Ma\u00f1ana ] 2-February-2021 20:02 GMT",
        "useragent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/605.1.15 (KHTML, like Gecko) Version\/14.1.1 Safari\/605.1.15"
    },
<snip>

Documentation Changes Required

none

avatar PhilETaylor PhilETaylor - open - 6 May 2021
avatar PhilETaylor PhilETaylor - change - 6 May 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 6 May 2021
Category Administration com_admin
avatar PhilETaylor PhilETaylor - change - 6 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 6 May 2021
avatar PhilETaylor PhilETaylor - change - 6 May 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 6 May 2021
avatar Quy Quy - test_item - 6 May 2021 - Tested successfully
avatar Quy
Quy - comment - 6 May 2021

I have tested this item successfully on 2898674


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33610.

avatar alikon alikon - test_item - 7 May 2021 - Tested successfully
avatar alikon
alikon - comment - 7 May 2021

I have tested this item successfully on 2898674


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33610.

avatar alikon alikon - change - 7 May 2021
The description was changed
Status Pending Ready to Commit
avatar alikon
alikon - comment - 7 May 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/33610.

avatar joomla-cms-bot joomla-cms-bot - edited - 7 May 2021
avatar rdeutz rdeutz - change - 7 May 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-05-07 07:28:02
Closed_By rdeutz
Labels Added: ? ?
avatar rdeutz rdeutz - close - 7 May 2021
avatar rdeutz rdeutz - merge - 7 May 2021

Add a Comment

Login with GitHub to post a comment