[Tickets #9223] Re: Kronolith_Tagger: ensureTypes not recognizing existing types

bugs at horde.org bugs at horde.org
Sat Sep 4 23:17:48 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9223
------------------------------------------------------------------------------
  Ticket             | 9223
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | Kronolith_Tagger: ensureTypes not recognizing existing
                     | types
  Queue              | Kronolith
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2010-09-04 19:17) wrote:

> The issue comes from the Content_Types_Manager class, Function  
> ensureTypes. If I change the coding from "if (is_int($type)" to "if  
> (is_int($typeIndex))" everything works fine.

That code is incorrect and will likely corrupt your content data.

You can see what the query on line 69 returns from your DB, and  
compare it with what you think it should return.






More information about the bugs mailing list