? ? Pending

User tests: Successful: Unsuccessful:

avatar laoneo
laoneo
11 Apr 2017

Pull Request for comment #15223 (comment) .

Summary of Changes

On multilanguage sites when a user open the contact form page, only fields should be displayed which do belong to the actual language.

Testing Instructions

  • Install a fresh joomla without sample data but with multilanguage. Select some additional languages to install.
  • Create a Contact -> Mail field and assign it to a language which is not en-GB.
  • Create a contact.
  • Create a "Single Contact" menu item.
  • On the front make sure you open the page with the English language.
  • Click in the contact menu link.

Expected result

No field is shown.

Actual result

The field is shown which does not belong to the English language.

avatar laoneo laoneo - open - 11 Apr 2017
avatar laoneo laoneo - change - 11 Apr 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Apr 2017
Category Front End com_contact
avatar AlexRed AlexRed - test_item - 11 Apr 2017 - Tested successfully
avatar AlexRed
AlexRed - comment - 11 Apr 2017

I have tested this item successfully on 665fef7

Patch ok for me.


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

avatar franz-wohlkoenig franz-wohlkoenig - test_item - 13 Apr 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Apr 2017

I have tested this item successfully on 665fef7


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 Apr 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 Apr 2017

RTC after two successful tests.

avatar infograf768
infograf768 - comment - 14 Apr 2017

Folks, I really disagree with this PR as it does not check if the site is multilingual, without any message.

It would be the only place in Joomla where some stuff would be filtered by language on a monolanguage site.

I am changing the RTC status to Need Review for maintainers to decide.

avatar infograf768 infograf768 - change - 14 Apr 2017
Status Ready to Commit Needs Review
avatar infograf768
infograf768 - comment - 14 Apr 2017

I am also making a PR to change this
#15223
for the same reasons

avatar laoneo
laoneo - comment - 14 Apr 2017

@infograf768 I asked you why you want to do this change but you didn't answer. It's not that I don't want to change it, more that I want to know the reason as it has the same effect on a single language site as on a multilanguage one. Just wanted to avoid an extra function call, which is IMO not necessary.

avatar infograf768
infograf768 - comment - 14 Apr 2017

sorry if I did not reply. It for the same reasons I explained here:
#14865 (comment)

and for the same reasons, I made this #15297 to correct your other PR for registration

Again:

It would be the only place in Joomla where some stuff would be filtered by language on a monolanguage site.

avatar laoneo laoneo - change - 14 Apr 2017
Labels Added: ?
avatar laoneo
laoneo - comment - 14 Apr 2017

Changed.

avatar infograf768 infograf768 - change - 14 Apr 2017
Status Needs Review Ready to Commit
avatar infograf768
infograf768 - comment - 14 Apr 2017

RTC again as easy change. Thanks.


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

avatar infograf768
infograf768 - comment - 14 Apr 2017

@rdeutz Good to go.

avatar wilsonge wilsonge - change - 14 Apr 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-04-14 10:47:48
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 14 Apr 2017
avatar wilsonge wilsonge - merge - 14 Apr 2017

Add a Comment

Login with GitHub to post a comment