Hello,

BackDrop 1.30.0 with 12 modules (incl profile but not activated)

I wish to create a new user and got this error message: "You cannot enter a title without a link url."

On the registration form, there are two field from the profile, one is indeed a field "link", but I kept both "title" and "url" empty

I tried the following, without any success:

  • disable the "display on registration form" for this field
  • flushed all caches
  • disable the "display on registration form" for the second (and last) field from the profile (text short)

NB: Updating an existing profile is ok. I do not remember such a problem with creation of previous users (about 80).

Did I missed something obvious? Or could it be a bug?

Comments

Hi patch-works. 

This sounds like a configuration problem with a link field attached to the user entity. Can you post an image of the field configuration UI for that field? (it may take two images, as the configuration is long).  You can get that by going to admin/config/people/manage and then clicking "configure" for the link field.

Hello Argiepiano,

Thank you for looking into this. 

There are 3 links fields, this one is the most recent, here are the screenshots: https://app.box.com/s/2ev0rjwnx7mg8vd3bi9jrj7n8uep4j06

I hope it is what you requested (path is Home > Administration > Configuration > User accounts > Manage fields)

NB: I made some changes in the settings after encountering the problem, but problem still there

Hi patch-works. Thanks for posting the images.

I've tried recreating the scenario, and have not encountered any issues when creating a new user account.

I'm confused about one point: you said that the module Profile is not activated. However, then you said "updating an existing profile is ok". How can you update an existing profile is Profile is not activated?? 

Also, when the option "Display on user registration form." is checked off, the field should not be shown on the "user creation" form at all. Is it still being shown? In my testing, if I leave that configuration unchecked, the field is not shown at all in the user creation form.

Can you please clarify all of these points? Also, check again about Profile.

Hello Argiepiano,

Sorry for the confusion, I should have been more consistent in the use of the term 'profile'. This is related to the fact that the BD site replaced a D6 site where profile module was used to create a who's who. It has been reproduced by adding fields to the user account (module profile had issues with view) which indeed creates a "profile page" (I plan to move to a dedicated content type and remove the fields from the user account).

'Display on user registration form' is indeed off, but it was on for one of the link. I tried to create a user without any info in this (not mandatory) field and the problem occurred... So I disabled it but the issue remains.

I tried the following:

  • remove the only mandatory field from the registration form
  • delete the suspected link field from the user account
  • flush all caches
  • run cron
  • run updates (none pending)

Problem still present...

I also checked the users table, no ghost line

I'm puzzled...

 

 

 

So, are you saying the error is there when there are NO link fields attached to the user? That's indeed very strange. I'm sorry - I can't reproduce the problems with this description. But this sounds like a bug.

If you still want me to help, rather than describe the problem, can you please describe step by step how someone can reproduce the problem? It would be VERY helpful if you try to reproduce yourself in a new installation of Backdrop (rather than an upgrade of a D6 site!).

 

Hello,

Indeed, there is no more field than "login" and "mail address" (and password) in the "Create new user".

It seems indeed to be a bug, unsure if someone can reproduce on a fresh install; however, I will try (and possibly replace the core code on the current, even if thinking it might be in the database).

Thanks!

PS: the site replaces a D6, but it was recreated from scratch; no upgrade / import