core icon indicating copy to clipboard operation
core copied to clipboard

Relationship disappearing when clicking on new multilingual version of related content

Open DeanGonzalez opened this issue 14 years ago • 2 comments

This is a result of testing new functionality on this issue: https://github.com/dotCMS/dotCMS/issues/1057

Follow these steps to reproduce.

1) Create two structures A and B and a many to many relationship between the two 2) Create a few pieces of content on both structures in English 3 Go to structure A and relate to Content B contentlet but don's save and publish yet... after relating you will see that the related Content B does not have a spanish version. click on the spanish flag that is grey, create the spanish version of content B and save/publish. 4) when the screen returns, there is no relationship anymore between content A and content B.

Screencast: http://screencast.com/t/RqTmXB2DN

DeanGonzalez avatar Sep 14 '12 14:09 DeanGonzalez

  1. When we edit a content "A" and relate contents {"B1","B2","B3"} for the first time to "A",

    we need to save the content "A" before leaving the edit content screen of "A" in order to retain the new relations.

  2. I added a Confirm message, when we are about to leave the edit content screen of "A" to edit a related content.

samuelmortha avatar Sep 14 '12 16:09 samuelmortha

Great, error warning is more than sufficient... tested all before and after warning and relationships save as expected.

DeanGonzalez avatar Sep 14 '12 18:09 DeanGonzalez