? Success

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
3 Jun 2017

Pull Request for Issue #8120.

Summary of Changes

This adds in the right profile XML for the profile linked to a contact. See #8120 for a longer explanation.

Testing Instructions

  1. Create or edit a contact and connect it with a user.
  2. Edit the default.php layout of the contact view of com_contact and insert a var_dump($this->item);
  3. Access the contact in the frontend and see that the $this->item->profile field contains an empty JForm object.
  4. Apply the changes.
  5. See that the JForm object now contains some data from the user.
avatar Hackwar Hackwar - open - 3 Jun 2017
avatar Hackwar Hackwar - change - 3 Jun 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jun 2017
Category Front End com_contact
avatar matrikular
matrikular - comment - 3 Jun 2017

I have tested this item successfully on dce517b


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16461.

avatar matrikular matrikular - test_item - 3 Jun 2017 - Tested successfully
avatar richard67
richard67 - comment - 3 Jun 2017

I have tested this item successfully on dce517b

Before patch:
... ["profile"]=> object(JForm)#444 (6) { ["data":protected]=> object(Joomla\Registry\Registry)#446 (3) { ["data":protected]=> object(stdClass)#453 (0) { } ...

After patch:
... ["profile"]=> object(JForm)#444 (6) { ["data":protected]=> object(Joomla\Registry\Registry)#446 (3) { ["data":protected]=> object(stdClass)#453 (3) { ["id"]=> string(2) ...


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16461.
avatar richard67 richard67 - test_item - 3 Jun 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2017

RTC after two successful tests.

avatar rdeutz rdeutz - close - 13 Jun 2017
avatar rdeutz rdeutz - merge - 13 Jun 2017
avatar rdeutz rdeutz - change - 13 Jun 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-06-13 14:53:21
Closed_By rdeutz

Add a Comment

Login with GitHub to post a comment