You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Olemis Lang <ol...@gmail.com> on 2013/05/30 05:51:05 UTC

Re: [Apache Bloodhound] #527: AttributeError rendering TicketQuery widget

On 5/29/13, Apache Bloodhound <de...@bloodhound.apache.org> wrote:
> #527: AttributeError rendering TicketQuery widget
> ---------------------------+--------------------------------
>   Reporter:  olemis        |      Owner:  rjollos
>       Type:  defect        |     Status:  review
>   Priority:  critical      |  Milestone:  Release 6
>  Component:  multiproduct  |    Version:
> Resolution:                |   Keywords:  ProductTicketQuery
> ---------------------------+--------------------------------
> Changes (by rjollos):
>
>  * owner:   => rjollos
>
>
> Comment:
>
>  (In [1487711]) Refs #527: Refs #527: Fix for traceback when rendering
>  `[[Widget(TicketQuery, query="!closed")]]`. The `widget_grid` template can
>  now handle `datetime` objects.
>
>  (In [1487712]) Refs #527: Avoid traceback when resolving env `href` to
>  generate ticket URL for a `ProductQuery` when ticket product is `None`.
>
>  Olemis should have been credited in the log message for both commits.
>  Sorry about that Olemis!
>

nevermind ... let's just fix it ! that's what really matters ;)

PS: btw , the root cause of this message is not related to product =
NULL but the fact that environment selection code was not robust (as
expressed in the patch ;) ... which I suppose was understood before
committing r1487712 . For global environment env.parent is always set
to None , hence the failure and the patch .

-- 
Regards,

Olemis.