?
avatar PhilETaylor
PhilETaylor
10 Jan 2021

Steps to reproduce the issue

Joomla 4 beta 6 - install the "Testing Sample Data"
Visit frontend, click a menu link in the left menu to get to an article
Note that the CASSIOPEIA logo (white text on blue background) is present

In Joomla Admin disable the "System - SEF" plugin

Refresh your article page on the frontend

Note the logo is now a broken image

Expected result

Regardless of SEF settings expectation is to see the logo

Screenshot 2021-01-10 at 17 42 09

Image logo url is http://127.0.0.1:4444/templates/cassiopeia/images/logo.svg

Actual result

Note that joomal4b6 shown in this screenshot is my "Site name" in Joomla Global Config and is not related to the SEF issue.

Screenshot 2021-01-10 at 17 43 07

Image logo URL is http://127.0.0.1:4444/index.php/templates/cassiopeia/images/logo.svg

System information (as much as possible)

Additional comments

avatar PhilETaylor PhilETaylor - open - 10 Jan 2021
avatar joomla-cms-bot joomla-cms-bot - change - 10 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 10 Jan 2021
avatar PhilETaylor PhilETaylor - change - 10 Jan 2021
Title
[4b6] Disable SEF Plugin breaks default template logo
[4b6] Disable SEF Plugin breaks default template logo url
avatar PhilETaylor PhilETaylor - edited - 10 Jan 2021
avatar brianteeman
brianteeman - comment - 10 Jan 2021

Unable to replicate

image

image

image

avatar PhilETaylor
PhilETaylor - comment - 10 Jan 2021

Maybe because your site is in a subfolder

avatar brianteeman
brianteeman - comment - 10 Jan 2021

Correction - it breaks as soon as I go away from the home page

avatar PhilETaylor
PhilETaylor - comment - 10 Jan 2021

As per the "Steps to reproduce the issue"

Visit frontend, click a menu link in the left menu to get to an article

avatar bembelimen
bembelimen - comment - 13 Jan 2021

The problem is, that the SEF-Plugin is (beside its little SEF changes) more a "fix all the broken things"-plugin. Like all the broken paths because Joomla! <= 3 has a wrong base tag which is removed in Joomla! 4.
So probably we should make this plugin a locked plugin to prevent disabling it (or re-add the base tag again, but in a correct way).

avatar Hackwar
Hackwar - comment - 17 Mar 2021

There is no correct way to add the base tag. It does not belong into our output.

avatar ReLater
ReLater - comment - 17 Mar 2021

So probably we should make this plugin a locked plugin to prevent disabling it

The ability to disable almost everything in Joomla 4 has been given so that developers can establish their own solutions wherever they want. A big step forward. If we now start to disable the disabling possibility for every extension where something could possibly work wrong, that would be a bad solution. One can not uninstall these extensions anymore in Joomla 4. That should be sufficient.

See also #28563 (comment)
below headline "This is a list of extensions that can be disabled"

avatar PhilETaylor
PhilETaylor - comment - 17 Mar 2021

This issue is NOT about the SEF Plugin. Its about broken image paths.

The image should load regardless of the state of the SEF plugin.

avatar ReLater
ReLater - comment - 17 Mar 2021

The image should load regardless of the state of the SEF plugin.

If you disable Joomla's link corrections for image paths? From my point of view that's the well known behavior.

avatar PhilETaylor
PhilETaylor - comment - 17 Mar 2021

whatever, fixed. #32714

avatar PhilETaylor PhilETaylor - change - 17 Mar 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-03-17 13:20:02
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 17 Mar 2021

Add a Comment

Login with GitHub to post a comment