No Code Attached Yet bug
avatar fontanil
fontanil
13 Aug 2024

Steps to reproduce the issue

Install a version of Joomla! 5.1.2 or use a site with that version.
Migrate to version 5.2.0 alpha4-dev, open the language overrides page

Expected result

The overrides page.

Actual result

An error has occurred.
0 Undefined constant "JPATH_"
in JROOT\administrator\components\com_languages\src\Model\OverridesModel.php:74

System information (as much as possible)

PHP 8.1.28 local server

Additional comments

Error does not occur with Alpha 3 version

avatar fontanil fontanil - open - 13 Aug 2024
avatar joomla-cms-bot joomla-cms-bot - change - 13 Aug 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 13 Aug 2024
avatar fontanil fontanil - change - 13 Aug 2024
Title
Languge override in 5.2.0 alpha4dev
Language override in 5.2.0 alpha4-dev
avatar fontanil fontanil - edited - 13 Aug 2024
avatar brianteeman
brianteeman - comment - 13 Aug 2024

confirmed

avatar brianteeman
brianteeman - comment - 13 Aug 2024

The problem is caused by the changes made by @Hackwar with #43230

avatar Quy Quy - change - 13 Aug 2024
Labels Added: bug
avatar Quy Quy - labeled - 13 Aug 2024
avatar brianteeman
brianteeman - comment - 14 Aug 2024

Same problem and same cause with other extensions

image

avatar brianteeman
brianteeman - comment - 14 Aug 2024

I have created a PR to revert this for now #43918

avatar Quy Quy - change - 14 Aug 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-08-14 12:01:30
Closed_By Quy
avatar Quy Quy - close - 14 Aug 2024

Add a Comment

Login with GitHub to post a comment