[haiku-bugs] Re: [Haiku] #4992: AttributeError: 'NoneType' object has no attribute 'split'

  • From: "nielx" <trac@xxxxxxxxxxxxxxxx>
  • Date: Mon, 16 Nov 2009 20:39:34 -0000

#4992: AttributeError: 'NoneType' object has no attribute 'split'
--------------------------+-------------------------------------------------
 Reporter:  idefix        |       Owner:  nielx    
     Type:  bug           |      Status:  assigned 
 Priority:  normal        |   Milestone:  R1       
Component:  Website/Trac  |     Version:  R1/alpha1
 Keywords:                |   Blockedby:           
 Platform:  All           |    Blocking:           
--------------------------+-------------------------------------------------
Changes (by nielx):

  * owner:  haiku-web => nielx
  * status:  new => assigned


Comment:

 I have an idea what the problem could be. It has to do with the fact that
 the 'keywords' field is now enabled. I suspect that all tickets last
 updated from before the migration to the new server have a value of NULL
 in the database, whereas it will now receive an empty string if there are
 no values.

 Trac expects a string. String types have the split() method, which the
 NoneType (=NULL) does not have.

 Will go to the database now.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/4992#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: