Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 1.3
-
Fix Version/s: 1.3
-
Component/s: Technical infrastructure
-
Labels:None
Description
There is a minor (but pretty noticeable) cosmetic but when registering a new user account in CivicSpace 0.8.3 RC4.
When the page user/register is rendered (even the first time, before the user can fill in the form and submit it), the following strings are sent to the browser, even before the DTD delaration for the HTML is sent:
<p>email</p> <pre>1</pre>
This occurs once when the page first renders, and twice when the page is submitted.
Procedure:
- If you are logged into CivicSpace, log out.
- Go to SITE/user/register.
- You will see the above debug strings, even when CIVICRM_DEBUG is set to 0.
Debugging notes:
I traced this down through the debugger. The actual debug string triggered occurs in:
- CRM/Core/Form.php in CRM_Core_Form::buildQuickForm(), line 274.
The function gets called via crm_register_data() when it is called in hook_user.
Any suggestions how to make this go away would be welcome, since I'm going to be demoing something in another week that will trigger this bug. In any event, it should really be writing to a log, rather than directly to the browser.