No Code Attached Yet
avatar GennaroMarra
GennaroMarra
20 Sep 2021

Hello, conditional fields do not respect the category assignment of a given form.

Although they are assigned to a certain category of forms, they also appear in the other forms of a different category.
If I click on the Test 01 menu item for the first time, the conditional field "Test 01" appears correctly, the same thing happens for "Test 02", but if I decide to click again on the "Test 01" menu item, the in the form incorrectly appears "Test 01" the conditional field "Test 02".

Link to a clean installation of the latest version of Joomla 4: https://advsinopia.eu/test-01

These are the backend settings:
test01
test02

Thanks

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar GennaroMarra GennaroMarra - open - 20 Sep 2021
avatar joomla-cms-bot joomla-cms-bot - change - 20 Sep 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Sep 2021
avatar GennaroMarra GennaroMarra - change - 20 Sep 2021
The description was changed
avatar GennaroMarra GennaroMarra - edited - 20 Sep 2021
avatar GennaroMarra GennaroMarra - change - 22 Sep 2021
Title
[4.0.3] Problem custom fields in Joomla contact form
[4.0.3] Conditional fields of the contact component do not respect the assigned category
avatar GennaroMarra GennaroMarra - edited - 22 Sep 2021
avatar GennaroMarra GennaroMarra - change - 22 Sep 2021
The description was changed
avatar GennaroMarra GennaroMarra - edited - 22 Sep 2021
avatar GennaroMarra GennaroMarra - change - 22 Sep 2021
The description was changed
avatar GennaroMarra GennaroMarra - edited - 22 Sep 2021
avatar GennaroMarra GennaroMarra - change - 22 Sep 2021
The description was changed
avatar GennaroMarra GennaroMarra - edited - 22 Sep 2021
avatar GennaroMarra GennaroMarra - change - 22 Sep 2021
The description was changed
avatar GennaroMarra GennaroMarra - edited - 22 Sep 2021
avatar GennaroMarra
GennaroMarra - comment - 27 Sep 2021

PHP attivo su Linux srv.hdedi-xlogic2600.org 3.10.0-962.3.2.lve1.5.56.el7.x86_64 #1 SMP Thu May 27 10:10:44 UTC 2021 x86_64
Tipo database mysql
Versione database 10.3.31-MariaDB-cll-lve
Collation database latin1_swedish_ci
Collation connessione database utf8mb4_general_ci
Crittografia connessione database Nessuno
Il server del database supporta la crittografia della connessione No
Versione PHP 7.4.23
Web Server LiteSpeed
WebServer interfaccia PHP litespeed
Versione di Joomla! Joomla! 4.0.3 Stable [ Furaha ] 12-September-2021 10:39 GMT
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0

avatar GennaroMarra
GennaroMarra - comment - 29 Sep 2021

Hello, since I haven't received feedback for seven days now, so is it just my problem?

I would like to use Joomla 4 but I'm stuck with this problem, thanks to those who want to give me a kind reply

avatar joomdonation
joomdonation - comment - 29 Sep 2021

@GennaroMarra Look like there is a bug here. While waiting for a proper solution, you can solve it by removing these lines of code https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_contact/src/View/Contact/HtmlView.php#L135-L140 from your Joomla installation (it prevents Joomla! to use wrong catid data for contact stored in session)

avatar GennaroMarra
GennaroMarra - comment - 30 Sep 2021

@GennaroMarra Look like there is a bug here. While waiting for a proper solution, you can solve it by removing these lines of code https://github.com/joomla/joomla-cms/blob/4.0-dev/components/com_contact/src/View/Contact/HtmlView.php#L135-L140 from your Joomla installation (it prevents Joomla! to use wrong catid data for contact stored in session)

Good morning and thank you ;-)

avatar joomdonation
joomdonation - comment - 30 Sep 2021

@GennaroMarra Does that change solve your issue?

avatar GennaroMarra
GennaroMarra - comment - 30 Sep 2021

@GennaroMarra Does that change solve your issue?

After I try and update you

avatar joomdonation
joomdonation - comment - 30 Sep 2021

@GennaroMarra OK. Please try the suggested change and update us back with the result. Thanks !

avatar GennaroMarra
GennaroMarra - comment - 30 Sep 2021

@GennaroMarra OK. Please try the suggested change and update us back with the result. Thanks !

It works :-)

avatar joomdonation joomdonation - close - 5 Oct 2021
avatar joomdonation
joomdonation - comment - 5 Oct 2021

@GennaroMarra Please test PR #35763 so that this issue will be fixed in next release.

avatar joomdonation joomdonation - change - 5 Oct 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-10-05 15:05:45
Closed_By joomdonation

Add a Comment

Login with GitHub to post a comment