New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[com_fields] Handle tag items properly #19006
Conversation
@shionphan can you please test? |
I have tested this item 🔴 unsuccessfully on 6056d1d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19006. |
@franz-wohlkoenig what shows up on the front? Did you not set a value ion the article for the custom field? |
In Frontend nothing new (=Field-Value) is shown. Value in Field is set. |
Can you post a screenshot of your page? Are you sure you took the right menu item type? |
What's in the space, when you inspect it with the developer tools of your browser? |
So a field is loaded which means it works. It can be an override or another patch installed which interferes on your site. Lets see if others have the same behavior. |
If other have not same Behaviour i install new one. |
I also can't get custom fields to display.
is created but it's empty. |
Same Behaviour on clean Install. |
@franz-wohlkoenig @laoneo I have test code Screenshot was script console.log IssueSome fields can not display. Others fields what be set default value could be displaed. Possible CausesFind code Add console code $console = json_encode($fields);
echo ('<script>console.log(' . $console . ')</script>'); Some field value In article page will be displayed, But it dose not display in com_tags page. |
@shionphan please mark your Test as successfully:
|
Are you testing it with the latest staging? |
I test on 3.8.3-rc, former Test nightly Builds. |
Tested successfull that if I install a new Joomla clean package, but it dose not work on my site. |
@shionphan please fill the test instructions from Franz to mark the pr as a successful test. Thanks. |
I have tested this item ✅ successfully on 6056d1d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19006. |
@laoneo Sorry for the work too busy. We know that fields data is different from items data in mysql (table name is SolutionLine 423 (Your post) $item->id = $item->content_id; Change into: $item->id = $item->content_item_id; Demo pageshttps://www.infinisign.com/products/all-type/multi-domain (Chinese Language) |
@shionphan thanks for the hint, changed it. Can you guys please retest if it is working now as expected? |
I have tested this item ✅ successfully on f440255 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19006. |
I have tested this item ✅ successfully on f440255 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19006. |
Ready to Commit after two successful tests. |
Pull Request for Issue #18992.
Summary of Changes
Prepares an item in the tags view with the custom fields. It mapps the tag context to the propper one of the item which has the tag.
Testing Instructions
Expected result
The custom fields are shown on the item.
Actual result
No custom fields are shown.