[Bb-trac] [bbPress] #783: get_topic_id() failing in trunk (r1075) when using slugs and cache-miss

bbPress bb-trac at lists.bbpress.org
Thu Feb 7 19:00:03 GMT 2008


#783: get_topic_id() failing in trunk (r1075) when using slugs and cache-miss
----------------------+-----------------------------------------------------
 Reporter:  _ck_      |       Owner:     
     Type:  defect    |      Status:  new
 Priority:  normal    |   Milestone:     
Component:  Back-end  |     Version:     
 Severity:  normal    |    Keywords:     
----------------------+-----------------------------------------------------
 I have accidentally found a (very annoying) bug which I cannot seem to
 solve on my own.

 get_topic_id is failing on my install when not in the bb cache
 (specifically when used right after bb_init(), most likely because of how
 it relies on get_topic which relies in turn on '''bb_get_id_from_slug()'''
 when slugs are enabled.

 I am using build 1075 but the functions.php is the same as the very newest
 trunk builds (1026)

 Only recent change I see is that global was properly added to $bbdb in
 bb_get_id_from_slug but I can't quite figure out why it's returning null
 when there is definitely a proper slug with a proper id.

 I'll try to post more proof/tests.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/783>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list