? Success

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
28 May 2018

Pull Request for Issue #20593.

Summary of Changes

On multilingual sites custom fields are filtered by language only when current item has language property. Some items (e.g. user registration form) do not have language property. This PR enables filtering by current language on items which do not have language property.

Testing Instructions

See #20593.

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 28 May 2018
avatar SharkyKZ SharkyKZ - change - 28 May 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 May 2018
Category Administration com_fields
avatar laoneo
laoneo - comment - 28 May 2018

We had once a similar pr #18743 which got closed, because we should not rely on the site language when fetching items.

avatar SharkyKZ
SharkyKZ - comment - 29 May 2018

I see. Then can we hide language field in com_fields based on context?

avatar laoneo
laoneo - comment - 29 May 2018

Where do you want to hide it?

avatar SharkyKZ
SharkyKZ - comment - 1 Jun 2018

In com_fields whenever context doesn't support it.

Also, property mapped to core_language should be used instead of hardcoded language property.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Jun 2018

@laoneo any Comment?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 12 May 2019

gently Reminder @laoneo

avatar laoneo
laoneo - comment - 13 May 2019

This pr will bring some regressions for sure as you make the request then dependent of its environment. We were discussing the issue already in the past, but I can't remember the number or pr? Maybe @infograf768 can remember. I would close it because this is the wrong way to go. Better to define the language of the item in the model where build the form from.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 13 May 2019

closed as stated above.

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 May 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-05-13 08:11:58
Closed_By franz-wohlkoenig
Labels Removed: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - close - 13 May 2019
avatar infograf768
infograf768 - comment - 13 May 2019

My conclusion on this was
#18743 (comment)

Add a Comment

Login with GitHub to post a comment