Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.4, 4.0.4
-
Component/s: CiviCRM Profile
-
Labels:None
Description
Create a profile form to quick create a contact, in the profile list, choose HTML Snippet, the code generated contains a wrong url :
/civicrm/profile/create&gid=...&reset=1
used to validate the form, it should be :
/civicrm/profile/create?gid=...&reset=1
Attached patch affects the CRM/UF/Page/Group.php file and only replace & with the expected ?
NB : if you introduce this snippet in a drupal block and you validate the form, it results in the following error :
"""
The requested Profile (gid=2) is disabled, OR it is not configured to be used for 'Profile' listings in its Settings, or there is no Profile with that ID. Contact the site administrator if you need assistance.
"""
Solution found in : http://forum.civicrm.org/index.php?topic=19663.0