? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
3 Oct 2016

Pull Request for Issue #12277.

Summary of Changes

Fixes the regression on 3.7.x where the language selector blocked on edit when there are no associations (multilanguage)

Testing Instructions

  1. Use latest 3.7.x branch with multilingual
  2. Check the issue in #12277
  3. Apply patch
  4. Check that now you can edit the language if there are no associations.
  5. Test edit on contact, newsfeed, menu item, article and category (the ones that support associations) by adding and removing associations and checking the language field on the edit form.

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 3 Oct 2016
avatar andrepereiradasilva andrepereiradasilva - change - 3 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2016
Category Administration Components
avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2016
Labels Added: ?
avatar andrepereiradasilva andrepereiradasilva - change - 3 Oct 2016
Title
[3.7.x] Fix #12277: language selector blocked on edit when there are no associations (multilanguage)
[3.7.x] Fix Regression #12277: language selector blocked on edit when there are no associations (multilanguage)
avatar andrepereiradasilva andrepereiradasilva - edited - 3 Oct 2016
avatar andrepereiradasilva andrepereiradasilva - edited - 3 Oct 2016
avatar zero-24 zero-24 - change - 3 Oct 2016
Labels Added: ?
avatar infograf768
infograf768 - comment - 3 Oct 2016

@andrepereiradasilva
I am afraid this is not enough.
To test, create an item tagged to a content language.
Save.
Then change the language to ALL languages or to another Content language.
Do NOT save
Display the Associations tab.
The possible languages available for associations are the same as it was before changing the item language. They also appear when item language is set to ALL.

I guess we have to force saving the item again in a way or another.

It is true that trying to select/create an associated item in the same language as the item edited will not work and that we get an error in the case when the original item language has been changed to ALL, but not really user friendly.

avatar andrepereiradasilva
andrepereiradasilva - comment - 3 Oct 2016

@infograf768

Then change the language to ALL languages or to another Content language.
Do NOT save
Display the Associations tab.
The possible languages available for associations are the same as it was before changing the item language. They also appear when item language is set to ALL.
I guess we have to force saving the item again in a way or another.

That i know of what you descrivbe already existed before (see latest staging). Is not part of the regression this PR aims to correct. If so, please make a new issue for that.

avatar infograf768
infograf768 - comment - 3 Oct 2016

indeed. do you think we can do something for that issue? maybe only a message and prevent saving?


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

avatar infograf768 infograf768 - test_item - 3 Oct 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 3 Oct 2016

I have tested this item successfully on a63a793


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

avatar alikon alikon - test_item - 3 Oct 2016 - Tested successfully
avatar alikon
alikon - comment - 3 Oct 2016

I have tested this item successfully on a63a793


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

avatar zero-24 zero-24 - change - 3 Oct 2016
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 3 Oct 2016

RTC @rdeutz

Thanks!


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

avatar joomla-cms-bot joomla-cms-bot - change - 3 Oct 2016
Labels Added: ?
avatar zero-24 zero-24 - close - 3 Oct 2016
avatar joomla-cms-bot joomla-cms-bot - close - 3 Oct 2016
avatar rdeutz rdeutz - close - 3 Oct 2016
avatar rdeutz rdeutz - merge - 3 Oct 2016
avatar rdeutz rdeutz - change - 3 Oct 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-10-03 19:22:36
Closed_By rdeutz
avatar brianteeman
brianteeman - comment - 9 Oct 2016

Removed RTC label

avatar joomla-cms-bot joomla-cms-bot - change - 9 Oct 2016
Labels Removed: ?
avatar zero-24 zero-24 - change - 11 Oct 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment