D7 version returns status report in different structure to D10

Created on 25 September 2023, about 1 year ago
Updated 27 October 2023, about 1 year ago

Problem/Motivation

The D7 version of the module returns the status report Json in a different structure to that of the D10 version.
The D7 version is a JSON array of objects where as the D10 version is a JSON object containing an array.

Steps to reproduce

Call the module status endpoint on a D7 site and compare results with a D10 site.

Proposed resolution

This is caused by the modules use of the underlying code from the module status on D7. It does a sort using a system function but this converts the array in to a numerically indexed array. The D10 code has its own sort which retains module values used as the array keys.
Solution is to update the D7 sort code with that from the D10 module.

Remaining tasks

Create patch.

User interface changes

None

API changes

D7 status endpoint will return JSON in a form the same as the D10 code. Any system using this endpoint on a D7 site will need to adjust the consumer of the endpoint.

Data model changes

None

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇬🇧United Kingdom arcaic Milton Keynes

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024