Skip to content
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

[4.0] Multilang: com_associations broken for contacts and newsfeeds #21110

Closed
infograf768 opened this issue Jul 14, 2018 · 3 comments
Closed

Comments

@infograf768
Copy link
Member

infograf768 commented Jul 14, 2018

See #20692 (comment)

Steps to reproduce the issue

Create a multilingual site.
Create at least a contact and a newsfeed tagged to one of the content languages
Load multilingual associations, choose the contact or the newsfeed as type + its corresponding language.

Notice: Trying to get property of non-object in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 578

Click on the item to load the side by side page
Undefined index: language in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Field/ItemlanguageField.php on line 55

Close the side by side
Call to a member function checkin() on null

For the moment, com_contact and com_newsfeeds still use their associations helper in the /helpers/ folder.
As @laoneo says, it may not be related to Services.

Menu items, articles and categories do work OK in com_associations.

@wilsonge
Copy link
Contributor

wilsonge commented Jul 17, 2018

EDIT: REMOVED AS COMMENTED ON WRONG ISSUE

@infograf768
Copy link
Member Author

@wilsonge
You may be confusing this with #21165 which does concern categories for these components in frontend.

This one here concerns only single contacts or newsfeeds.

Note: as of today July 18th, the errors are a bit different (although same concern)

[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Trying to get property of non-object in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 581
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Undefined index: name in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 257
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Undefined index: id in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 292
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Undefined index: id in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 294
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Undefined index: id in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 295
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Trying to get property of non-object in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 621
[18-Jul-2018 07:49:14 Europe/Berlin] PHP Notice:  Trying to get property of non-object in /Applications/MAMP/htdocs/installmulti/joomla40/administrator/components/com_associations/Helper/AssociationsHelper.php on line 621

@wilsonge
Copy link
Contributor

PR in #21171

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants