No Code Attached Yet bug
avatar peterhulst
peterhulst
5 Apr 2026

What happened?

The total number displayed in the Joomla Dashboard, Notifications, Override(s) to check: is wrong.
It is not equal to the sum of all individual tempates.
See the appendix for both displays.
Dashboard: Override(s) to check: 34
In templates: Override Files: 2+2+19=23

Version

5.4

Expected result

Individual: 2+2+19=23
Override(s) to check: 23

Actual result

Individual: 2+2+19=23
Override(s) to check: 34

System Information

Checked in Joomla 5.4.4

Additional Comments

Image Image
avatar peterhulst peterhulst - open - 5 Apr 2026
avatar joomla-cms-bot joomla-cms-bot - change - 5 Apr 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 5 Apr 2026
avatar chmst
chmst - comment - 12 Apr 2026

Can you check if there are overrides in atum, so that frontend + backend overrides sum up to 34?

avatar peterhulst
peterhulst - comment - 13 Apr 2026

Hello,

I have check, but there is no override in de administrator template atum.
So the sum is still not okay (2+2+19=23 <> 34).
Regards,
Peter

avatar heelc29
heelc29 - comment - 9 Jun 2026

Hi @peterhulst,
could you check the database table #__template_overrides - how many rows do you have?

SELECT * FROM `#__template_overrides` WHERE `state` = 0;

An option would be a missing extension record (so that we have orphaned items):

SELECT `o`.*, `e`.`name`, `e`.`element` FROM `#__template_overrides` as `o`
LEFT JOIN `#__extensions` as `e`
ON `o`.`extension_id` = `e`.`extension_id`
WHERE `o`.`state` = 0;

Note: When execute SQL commands, you have to replace #__ with your specific database prefix.

If possible, please post the query results here.

avatar peterhulst
peterhulst - comment - 9 Jun 2026

In version 5.4.6 the numbers changed a bit:
Expected result
Individual: 3+3+19=25
Override(s) to check: 23
Actual result
Individual: 2+2+19=23
Override(s) to check: 36

Result of first query:
SELECT * FROM #__template_overrides WHERE state = 0;
see:
github47549_query1.txt

Result of second query:
SELECT o.*, e.name, e.element FROM #__template_overrides as o
LEFT JOIN #__extensions as e
ON o.extension_id = e.extension_id
WHERE o.state = 0;
see:
github47549_query2.txt

github47549_query1.txt
github47549_query2.txt

Regards,
Peter

avatar peterhulst
peterhulst - comment - 9 Jun 2026

In version 5.4.6 the numbers changed a bit:
Expected result
Individual: 3+3+19=25
Override(s) to check: 25
Actual result
Individual: 3+3+19=25
Override(s) to check: 36

Result of first query:
SELECT * FROM #__template_overrides WHERE state = 0;
see:
github47549_query1.txt

Result of second query:
SELECT o.*, e.name, e.element FROM #__template_overrides as o
LEFT JOIN #__extensions as e
ON o.extension_id = e.extension_id
WHERE o.state = 0;
see:
github47549_query2.txt

github47549_query1.txt
github47549_query2.txt

Regards,
Peter

avatar heelc29
heelc29 - comment - 10 Jun 2026

It looks as there are two more site templates (ja_purity_iv and t3_blank). These also have a valid extension id.

template overrides to check
purity_iii 19
t3_blank 1
ja_purity_iv 10
astroid_template_two 3
astroid_three 3

Total: 36

So the sum is correct. Is it possible that these two template extensions have been disabled? That would make sense, and I can reproduce it too.

avatar peterhulst peterhulst - change - 10 Jun 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-06-10 09:17:13
Closed_By peterhulst
avatar peterhulst peterhulst - close - 10 Jun 2026
avatar peterhulst
peterhulst - comment - 10 Jun 2026

Hello @heelc29,

You are completely right. Both templates are disabled. When I enable them, the counting of the overrides is correct.
Thank you for the analysis.
I will complete this issue.

Regards,
Peter

avatar brianteeman
brianteeman - comment - 10 Jun 2026

Great that you found the reason. But i would still classify it as a bug to be fixed. The count should not include disabled templates

avatar peterhulst
peterhulst - comment - 10 Jun 2026

Great that you found the reason. But i would still classify it as a bug to be fixed. The count should not include disabled templates

I agree with you @brianteeman . Now that the cause is known, it should be easily to fix.

avatar brianteeman
brianteeman - comment - 10 Jun 2026

please can you re-open this fir visibility and then hopefully someone will write a fix

avatar peterhulst peterhulst - change - 10 Jun 2026
Status Closed New
Closed_Date 2026-06-10 09:17:13
Closed_By peterhulst
avatar peterhulst peterhulst - reopen - 10 Jun 2026

Add a Comment

Login with GitHub to post a comment