-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding association to an item doe not add the association to the already associated items #21250
Comments
Note: the problem does not exist when using the multilingual associations component to create or associate an item to another which already has associations for other languages. |
Note2: the problem is not recent. It also existed for menu items associations in 2.5 |
can't test Issue because of #21238 |
@franz-wohlkoenig |
i'm on cloudaccess (nightly) so i can't. |
Imho we just need an Alert in case there is already associated items for the item added in the association field. |
Personally speaking, this is expected behavior. Since I tell in the item A to only associate it with the specified other item B and the remaining languages are left empty. I don't expect it to magically fill up with the item C and D originally associated to that other item B. If it would not behave like this, how would you ever take off an item from an association group? It would always automatically fill up again. |
I do not agree with your assessment of expected behaviour and as Thomas rightly points out it could never work either. And as you point out it has been this way since 2.5 so I guess no one else sees it as expected behaviour or they would have said something by now. |
I have received many surprised comments by French users about that (and some very recently) as it is damned easy to kill existing associations by forgetting an item is already associated. As I suggested, we may need a trick to at least inform the user he may kill existing associations before save, or a specific Ajax call through a button that would automatically fill all the fields with the existing associations if desired. The second one is out of my abilities. |
A warning should only be displayed when there are existing associations that will be removed. A warning should not be displayed on the possibility that an association may be removed. |
Closing as we have an Ajax solution #21321 |
Hi, |
@kahisfz Please use the forum for support https://forum.joomla.org and please provide more information when you post on the forum |
Steps to reproduce the issue
Create multilingual site with 3 languages.
Create for example 1 article (or anything else) in 2 of the Content Languages and associate them.
Then create another article tagged to the 3rd Content Language. Save (NOT Save and Close).
Switch to the Associations tab and Select Association for only one of the Content Languages.
Example with contacts:
Expected result
The Article should be associated to the already associated articles.
Actual result
It is not and the result is that the formerly associated articles are not associated anymore without any Alert.
The text was updated successfully, but these errors were encountered: