I added several “User Fields” that users are prompted to fill out when they create the account. The accounts are created after I send an invite link to the user - they click the link, fill out the fields, and their account is created.
HOWEVER - none of those fields are getting saved. When I test this out, I fill out all the fields, hit submit, go to my profile settings, and those fields are blank.
Has anybody else experienced this? I’m holding off on launching our forum until we figure this out…
It looks like @zogstrip was looking into this. I don’t have any updates at this time, he should be able to update you tomorrow (it’s outside of work hours already in Europe).
Cool, thanks for the update. @zogstrip let me know what you find. Seems like it’s really easy for us to reproduce, and I’m holding off on launching our forum until this is fixed.
I initially thought it was related to my recent fixes regarding user options/profiles not saving but I can not reproduce your issue. User fields work just fine locally and on try.
I’m having a similar issue, which has been going on for some months but I’ve not previously had time to look into it.
I have some custom user fields set up via the Admin interface, however when new users sign up and complete the fields, the data entered is not retained, and the fields are blank in their profiles. I’ve also tested via the Rails console and the data isn’t being saved.
When I first set up user fields they worked fine, and I’m in the process of trying to work out exactly when it stopped working (we only started to pay more attention to the user fields recently hence we didn’t really notice previously)
I’m on Discourse v1.9.0.beta11 +11
For some users (seemingly ones that have been members for a long time) there is data under both User.user_fields and User.custom_fields. I’m confused as to the difference between those two models, UserField and UserCustomField, since for some users there is similar data in both, but for other users there’s nothing in either!
As an example, here’s a brand new user I just created. During signup I entered test data for all of the custom user fields. But following sign-up the data is all gone. from the User Profile UI, and on the Rails console:
User fields save when I update them in the profile. They do NOT save when I create a new account from an invite link and am prompted to enter the user fields. I add all the details, save, activate the account, and then nothing is stored in the profile except for NAME.