[wp-trac] [WordPress Trac] #32167: [32307] does not set $wdpb->error

WordPress Trac noreply at wordpress.org
Fri Oct 16 11:53:43 UTC 2015


#32167: [32307] does not set $wdpb->error
-------------------------------+------------------------------
 Reporter:  nerrad             |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Database           |     Version:  4.2.1
 Severity:  normal             |  Resolution:
 Keywords:  close needs-patch  |     Focuses:
-------------------------------+------------------------------
Changes (by ruud@…):

 * keywords:  close => close needs-patch


Comment:

 Hi @swissspidy, thnx for taking the time to think this through, I like to
 express my concerns in this matter.

 I was following this ticket because in my case it was related to a bug
 where the nicename of a new user was getting too long during the initial
 registration process and an user record wasn't created. (patched
 separately for 4.4)

 So I was figuring out why no records where made, but no visible or
 otherwise helpful errors where being made. In the end it turned out to be
 the DB field length for 'nicename'

 I guess it would help future debuggers if a more descriptive error would
 be available, especially around difficult to find errors like DB-field
 lengths.

 Thnx,
 Ruud

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32167#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list