?
avatar dgt41
dgt41
30 Jan 2017

Issue 1.

The content window looks odd because on the left we have the associations tab but on the right we dont

Screenshot https://www.dropbox.com/s/9icin9l4x8dtd3f/Screen%20Shot%202017-01-30%20at%2011.51.43.png?dl=0

Issue 2.

Open an article that has an association and select the associated language
Now select the button Copy Reference To Target

Expected behaviour

Article content is copied from reference to target

Actual behaviour

A NEW article is created AND the new article does not have the same status as the reference article

Video https://www.dropbox.com/s/552tdob1v7wuyyb/multilingual.mp4?dl=0

As reported but Brian Teeman over twitter...

avatar dgt41 dgt41 - open - 30 Jan 2017
avatar joomla-cms-bot joomla-cms-bot - change - 30 Jan 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 30 Jan 2017
avatar infograf768
infograf768 - comment - 31 Jan 2017

Issue 1: This looks OK to me. After saving Reference the article will be associated (if it was not already).
Improvement could be to display its Associations tab as readonly.

I confirm issue 2:
The issue comes imho from the fact that Copy Reference to Target ALSO copies (with increment) the title and the alias and the category, therefore it saves a new article.
In fact it always uses save2copy
See https://github.com/joomla/joomla-cms/blob/staging/media/com_associations/js/sidebyside-uncompressed.js#L20

avatar Bakual
Bakual - comment - 31 Jan 2017

Maybe copy to target shouldn't be there if you have selected already an existing item. It doesn't make that much sense to me to overwrite an already existing item with an existing one. But maybe I miss the obvious.

avatar infograf768
infograf768 - comment - 31 Jan 2017

You are correct. Let's work on this.

avatar infograf768
infograf768 - comment - 31 Jan 2017

Here is a patch for Issue2
#13819

avatar infograf768
infograf768 - comment - 2 Feb 2017

Please test #13855 for Issue 1

avatar infograf768 infograf768 - change - 2 Feb 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-02-02 12:00:52
Closed_By infograf768
avatar joomla-cms-bot joomla-cms-bot - change - 2 Feb 2017
Closed_By infograf768 joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 2 Feb 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 2 Feb 2017
avatar infograf768
infograf768 - comment - 2 Feb 2017

Closing as issue2 is now fixed in codebase and issue 1 has now a patch ready to test: #13855

Thanks for the report.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/13812.

Add a Comment

Login with GitHub to post a comment