J4 Issue ?
avatar infograf768
infograf768
12 Apr 2020

Steps to reproduce the issue

Create a multilingual site with multilingual sample data module.
Edit a menu item. (same for a category)
Click on the Associations Toolbar button.
Screen Shot 2020-04-12 at 09 20 53

Expected result

It should load the item in the side to side Reference in com_associations.

Actual result

It only saves the item and redirects to the menu items manager.

Note

Same result for category.
Works fine for article and contact

avatar infograf768 infograf768 - open - 12 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - change - 12 Apr 2020
Labels Added: ? J4 Issue ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 Apr 2020
avatar alikon
alikon - comment - 12 Apr 2020

confirmed

avatar richard67 richard67 - change - 12 Apr 2020
Status New Confirmed
avatar richard67 richard67 - change - 12 Apr 2020
Priority Medium Urgent
avatar Hackwar
Hackwar - comment - 12 Apr 2020

The models of the components don't call the parent save() method of their base class and thus don't trigger the associations code. In general I don't see why they can't use their parents save() method, but comparing the code does take some time.

avatar richard67
richard67 - comment - 12 Apr 2020

@Hackwar Are you on it regarding comparing code?

avatar infograf768
infograf768 - comment - 12 Apr 2020

What I wonder is « What has changed as it was working before? »

avatar richard67
richard67 - comment - 12 Apr 2020

When was it working last time? Days ago? Or weeks? Or months?

avatar infograf768
infograf768 - comment - 12 Apr 2020

Good question...

avatar infograf768
infograf768 - comment - 13 Apr 2020

Tested alpha12 and it works fine.
4.0-dev from 26 nov 2019 is also OK

4.0-dev from january 2020 is also fine

I do not have more recent packages

avatar infograf768
infograf768 - comment - 13 Apr 2020

@wilsonge
This was broken when you merged 3.9.10 into 4.0 in March
The code was
#28314
and
#27941

avatar richard67
richard67 - comment - 13 Apr 2020

Do I get it right that the categories problem will be fixed with #28675 for staging and then after release of 3.9.17 be merged up into 3.10-dev and finally to 4.0-dev, and so only the menu items problem remains to be fixed in 4.0-dev?

avatar brianteeman
brianteeman - comment - 13 Apr 2020

In theory yes

avatar richard67
richard67 - comment - 13 Apr 2020

So who can care for the remaining menu item issue?

avatar infograf768
infograf768 - comment - 13 Apr 2020

there is no men u item issue in staging. only category.

avatar richard67
richard67 - comment - 13 Apr 2020

I mean in 4.0-dev.

avatar infograf768
infograf768 - comment - 13 Apr 2020

When 3.9.17 is merged in 3.10 and 3.10 in 4.0, all this should be solved, I guess

avatar richard67
richard67 - comment - 13 Apr 2020

Ah, ok.

avatar richard67 richard67 - change - 10 May 2020
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2020-05-10 11:20:21
Closed_By richard67
avatar richard67 richard67 - close - 10 May 2020
avatar richard67
richard67 - comment - 10 May 2020

Closing as solved with PR #29010 . I have just tested it.

@infograf768 Feel free to re-open if you can't confirm this.

avatar wilsonge wilsonge - change - 21 May 2020
Labels Removed: ?
avatar wilsonge wilsonge - unlabeled - 21 May 2020

Add a Comment

Login with GitHub to post a comment