Closed (works as designed)
Project:
Legal
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Apr 2012 at 00:00 UTC
Updated:
21 Oct 2017 at 23:19 UTC
Jump to comment: Most recent
Comments
Comment #1
robert castelo commentedIf it's storing T&Cs in Profile that's definitely a bug - changing category.
Which profile module are you using?
Comment #2
yuriy.babenko commentedHmm, didn't occur to me that this might be a bug. Seemed intentional.
I'll run you through this project's setup (I didn't build it, so I may not be aware of some things, but will do my best to cover everything related):
There is Profile2 (7.x-1.2) enabled; that's the only enabled profile module. On /admin/config/people/accounts/fields I've got a field called 'field_user_legal' (textarea w/ multiple rows). This is the field which gets populated with the T&C. Interestingly, a grep of the entire /sites/all folder for 'user_legal' didn't turn up anything useful (only results were this field being included in a Features module, and this field getting disabled on the user registration via a custom form_alter hook).
Legal's legal_form_user_register_form_alter() looks to be adding a $form['legal'] element, but I'm not sure what actually saves it in the profile; maybe the profile2 module automatically saves all data in $form as fields? Haven't looked at the code yet...
Comment #3
osopolarI installed the module and can't see the field
field_user_legal. Probably there is some custom code responsible for this behavior.Comment #4
yuriy.babenko commentedosopolar, let's let the module maintainers make a call on the issue status. I haven't used Legal since opening this issue a while back, so it may or may not still be a problem, but it's best for the module devs to confirm that.
Comment #5
robert castelo commentedNot caused by Legal module, maybe an issue with Profile2?