No Code Attached Yet
avatar Quy
Quy
7 Oct 2023

Steps to reproduce the issue

Install German.
Install Multilingual Sample Data.
Edit an article.
Click Associations button.

Actual result

associations-target

Additional comments

Not an issue in v4.4

avatar Quy Quy - open - 7 Oct 2023
avatar joomla-cms-bot joomla-cms-bot - change - 7 Oct 2023
Labels Added: No Code Attached Yet Release Blocker
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Oct 2023
avatar richard67
richard67 - comment - 8 Oct 2023

Possibly caused by PR #40462 ?

Update: I don't think it was that PR, but maybe it unmasks the problem somehow? When debugging, I saw that the right side of the side by side view should use the edit layout but tries to use default layout.

avatar richard67
richard67 - comment - 8 Oct 2023

I have that error on the edit view of the article at the right side of the associations side-by-side view. There is no target language selected. As soon as I select a target language, the error disappears and the article edit view at the right side is ok. When I de-select the target language after that so none is selected, the article edit at the right side is empty like it should be, and the error still doesn't happen again.

So it seems to be a problem with the initial value of that target language somewhere.

Update: It happens only when the edited article has an association. For unassociated articles the problem doesn't happen.

avatar richard67
richard67 - comment - 8 Oct 2023

Next issue: The "Clear" button at the right side of the side-by-side view doesn't do anything, regardless if I have used the "Change Target" button before or not.

avatar richard67
richard67 - comment - 8 Oct 2023

Next idea for a possible cause: PR #40462 . Ah, it's the same PR again which I already found before. Just checked another place in the code this time.

avatar richard67
richard67 - comment - 8 Oct 2023

The network analysis in my browser's developer tools show an internal server error for the GET request to this URL: https://www.joomla-50-dev.vmubu01.vmnet2.local/administrator/index.php?option=com_content&view=article&extension=com_content&tmpl=component&task=article.article-en-gb&id=1

avatar richard67
richard67 - comment - 8 Oct 2023

It seems the &task=article.article-en-gb is either the problem or a symptom.

When selecting the right target language, the GET request goes to
https://www.joomla-50-dev.vmubu01.vmnet2.local/administrator/index.php?option=com_content&view=article&extension=com_content&tmpl=component&task=article.edit&id=1

The same can also be found for the src attribute of the iframe which containts the article at the right side.

avatar dgrammatiko
dgrammatiko - comment - 9 Oct 2023

@Fedik are you willing to work on this one or should I give it a go?

avatar Fedik
Fedik - comment - 9 Oct 2023

I have found where it comes from,
Please test #42096

avatar Fedik Fedik - close - 9 Oct 2023
avatar Fedik Fedik - change - 9 Oct 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-10-09 09:34:04
Closed_By Fedik
avatar richard67 richard67 - change - 9 Oct 2023
Labels Removed: Release Blocker
avatar richard67 richard67 - unlabeled - 9 Oct 2023

Add a Comment

Login with GitHub to post a comment