Hello,
I had 2 contacts on my page and i made 2 different catagory for mail-custom-fields and made also different custom field for each catagory and contact it was everything ok on joomla 3.8.3 after update to joomla 3.8.5 and more the custom field appear on all of contacts and not just on selected field categories.
i tried to use a new instal joomla but it has the same problem i hope you can to help me to solve this issue .
thank you
regards
N.K
Labels |
Added:
?
|
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-18 15:04:33 |
Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20195
@franz-wohlkoenig
Could you please reopen this issue. I can confirm it for current Staging Joomla 3.8.8-dev.
Closed_Date | 0000-00-00 00:00:00 | ⇒ |
Status | Closed | ⇒ | New |
Closed_Date | 2018-04-18 15:04:33 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Set to "open" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20195
reopened as stated above.
Thank you!
Title |
|
||||||
Status | New | ⇒ | Discussion |
Category | ⇒ | com_contact com_fields |
Some investigations:
We had this issue already in the past. @laoneo correted it here:
https://github.com/joomla/joomla-cms/pull/16666/files
#16666
In Joomla 3.8.4 these lines were added by @sandewt
https://github.com/joomla/joomla-cms/pull/17743/files
#17743
From the point of logic both fixes look somehow conflictive.
In the meantime, under each field, under Options
tab, set Display When Read-Only
to No.
In the meantime, under each field, under Options tab, set Display When Read-Only to No.
That my fields are only read-only is just because of my laziness concerning writing testing instructions ;-)
Makes no difference. The issue was also reported in German forum where the fields are editable.
I can have a look next week.
Sorry for pushing but this is a serious bug for some Joomla users!
@ReLater very clear instruction.
Tested with: Joomla! 3.8.8-dev Development
File + location: joomla-cms-staging\components\com_contact\views\contact\view.html.php
If you change this code in the rules 75 ...
if (empty($item->catid))
{
$app->setUserState('com_contact.contact.data', array('catid' => $item->catid));
}
back to one rule
$app->setUserState('com_contact.contact.data', array('catid' => $item->catid));
The result is 1 field, as you wish. See the image.
However, Contact form loses data after postback with error
is then an issue (#17743) again.
Honestly, I do not know a solution yet.
Why do you try to set the userState for com_contact.contact.data if catid is empty?
@degobbis
May be not the best argument. Because it worked and the test results were positive.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-04-22 17:01:44 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20195
Please ask help on the forums. This repository concerns in first Place Joomla-Core coding. For this Reason closing this Issue, thanks.