The cypress api test for modifying a single template
passes but it produces the following php warnings
[24-Feb-2025 18:17:53 UTC] PHP Warning: Attempt to read property "parent" on array in D:\repos\j51\administrator\components\com_templates\src\Model\StyleModel.php on line 399
[24-Feb-2025 18:17:53 UTC] PHP Warning: Attempt to read property "parent" on array in D:\repos\j51\administrator\components\com_templates\src\Model\StyleModel.php on line 400
[24-Feb-2025 18:17:53 UTC] PHP Warning: Attempt to read property "parent" on array in D:\repos\j51\administrator\components\com_templates\src\Model\StyleModel.php on line 400
Labels |
Added:
No Code Attached Yet
|
There are two Cypress tests with "can modify a single template", you can run with e.g.
scripts/test 53 system '{tests/System/integration/api/com_templates/Administrator.cy.js,tests/System/integration/api/com_templates/Site.cy.js}'
Each of these Cypress tests generates two PHP Warning messages:
[Sun Mar 02 05:42:36.146441 2025] [php:warn] [pid 94:tid 94] [client 10.0.0.1:59254] PHP Warning: Attempt to read property "parent" on array in /var/www/html/administrator/components/com_templates/src/Model/StyleModel.php on line 399
[Sun Mar 02 05:42:36.146668 2025] [php:warn] [pid 94:tid 94] [client 10.0.0.1:59254] PHP Warning: Attempt to read property "parent" on array in /var/www/html/administrator/components/com_templates/src/Model/StyleModel.php on line 400
[Sun Mar 02 05:42:37.976301 2025] [php:warn] [pid 94:tid 94] [client 10.0.0.1:59254] PHP Warning: Attempt to read property "parent" on array in /var/www/html/administrator/components/com_templates/src/Model/StyleModel.php on line 399
[Sun Mar 02 05:42:37.976528 2025] [php:warn] [pid 94:tid 94] [client 10.0.0.1:59254] PHP Warning: Attempt to read property "parent" on array in /var/www/html/administrator/components/com_templates/src/Model/StyleModel.php on line 400
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-03-02 08:47:21 |
Closed_By | ⇒ | alikon |
backend issue #42236