If you try to create a client with a name that matches the title of any node on the site, you get the misleading error message "Client name already in use...".

Looks like hosting_client_validate is querying all nodes, when it should only be querying clients.

This is a regression introduced by #1238618: Client form validation allows duplicate client names / http://drupalcode.org/project/hosting.git/commitdiff/f6995669aa42a387a29...

Comments

anarcat’s picture

Priority: Normal » Critical
Issue summary: View changes

marking this as critical as it can probably be easily fixed by 2.0.

anarcat’s picture

Status: Active » Fixed

fixed in e6465f5, thanks for the report.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

  • Commit e6465f5 on 6.x-2.x, 7.x-3.x, dev-sni, dev-helmo-3.x by anarcat:
    check only client nodes for duplicates, closes #2123355
    

  • Commit e6465f5 on 6.x-2.x, 7.x-3.x, dev-sni, dev-helmo-3.x by anarcat:
    check only client nodes for duplicates, closes #2123355