You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bloodhound.apache.org by Eric Ladner <er...@gmail.com> on 2013/12/05 15:07:27 UTC

Reported by (and timestamp) incorrect on activity history

I figured I'd ask before actually creating a ticket (if this is indeed an
issue).

On the activity history list on the left side (date ordered list of events
and comments on the right), the Reported by and it's associated date is
incorrect.

Where is this date (and username) gathered from?  I've poked through the
source and the data in the tables and can't find anything that jumps out at
me.

It looks like every "reported by" is my id, even for a couple of tickets
that were created by admin before I ever created my id.  Another user has
created some tickets and they also show as "reported by" me.

In reports, though, reported by shows correctly.

Any ideas where to look?

(No, I have not fiddled with the source - Yes, I've fiddled with the data
in the tables directly, but not for the tickets mentioned above.)

Thanks!
-- 
Eric Ladner

Re: Reported by (and timestamp) incorrect on activity history

Posted by Gary Martin <ga...@wandisco.com>.
Thanks for that, Eric.

I assume that this is resulting from

    bhtheme.theme.BloodhoundTheme._modify_ticket

method (around line 382 of bloodhound_theme/bhtheme/theme.py) which I 
think appeals to ticket['time'] to get the time. I am not sure if this 
is the correct source for the information but we should be able to 
request the creation time from ticket.time_created instead if that gives 
better results.

Cheers,
     Gary


On 05/12/13 15:42, Eric Ladner wrote:
> https://issues.apache.org/bloodhound/ticket/723
>
> I was able to re-create this, also.
>
>
> On Thu, Dec 5, 2013 at 9:07 AM, Gary Martin <ga...@wandisco.com>wrote:
>
>> Hi Eric,
>>
>> I suspect that the screen shot attachment was stripped from the email.
>> There is no harm in raising a ticket to attach the screenshot to if you
>> wish.
>>
>> Cheers,
>>      Gary
>>
>>
>> On 05/12/13 14:51, Eric Ladner wrote:
>>
>>> Here's what I'm talking about (see screen shot).  I don't think that's
>>> part of the timeline, per se.
>>>
>>> I'll try and create a test environment today.
>>>
>>>
>>> On Thu, Dec 5, 2013 at 8:41 AM, Olemis Lang <olemis@gmail.com <mailto:
>>> olemis@gmail.com>> wrote:
>>>
>>>      On Dec 5, 2013 9:08 AM, "Eric Ladner" <eric.ladner@gmail.com
>>>      <ma...@gmail.com>> wrote:
>>>      >
>>>      > I figured I'd ask before actually creating a ticket (if this is
>>>      indeed an
>>>      > issue).
>>>      >
>>>      > On the activity history list on the left side (date ordered list
>>>      of events
>>>      > and comments on the right), the Reported by and it's associated
>>>      date is
>>>      > incorrect.
>>>      >
>>>      > Where is this date (and username) gathered from?  I've poked
>>>      through the
>>>      > source and the data in the tables and can't find anything that
>>>      jumps out
>>>      at
>>>      > me.
>>>      >
>>>      > It looks like every "reported by" is my id, even for a couple of
>>>      tickets
>>>      > that were created by admin before I ever created my id.  Another
>>>      user has
>>>      > created some tickets and they also show as "reported by" me.
>>>      >
>>>      > In reports, though, reported by shows correctly.
>>>      >
>>>      > Any ideas where to look?
>>>      >
>>>      > (No, I have not fiddled with the source - Yes, I've fiddled with
>>>      the data
>>>      > in the tables directly, but not for the tickets mentioned above.)
>>>      >
>>>      > Thanks!
>>>      > --
>>>      > Eric Ladner
>>>
>>>      Timeline events a contirbuted by plugins. Since I can not
>>>      reproduce this
>>>      issue could you please mention the steps that lead to this failure?
>>>
>>>      If you could mention them all from scratch (i.e. Start by creating
>>>      product
>>>      etc. ) on a fresh sandbox environment then much better because I
>>>      could use
>>>      the sequence to write a (functional) test case and fix bugs on
>>>      failure.
>>>
>>>      Regards.
>>>
>>>      Sent from Android
>>>
>>>      --
>>>      Regards
>>>
>>>      Olemis - @olemislc
>>>      Blog-ES : http://simelo-es.blogspot.com
>>>      Blog-EN : http://simelo-en.blogspot.com
>>>      Projects : http://blood-hound.net
>>>
>>>
>>>
>>>
>>> --
>>> Eric Ladner
>>>
>>
>


Re: Reported by (and timestamp) incorrect on activity history

Posted by Eric Ladner <er...@gmail.com>.
https://issues.apache.org/bloodhound/ticket/723

I was able to re-create this, also.


On Thu, Dec 5, 2013 at 9:07 AM, Gary Martin <ga...@wandisco.com>wrote:

> Hi Eric,
>
> I suspect that the screen shot attachment was stripped from the email.
> There is no harm in raising a ticket to attach the screenshot to if you
> wish.
>
> Cheers,
>     Gary
>
>
> On 05/12/13 14:51, Eric Ladner wrote:
>
>> Here's what I'm talking about (see screen shot).  I don't think that's
>> part of the timeline, per se.
>>
>> I'll try and create a test environment today.
>>
>>
>> On Thu, Dec 5, 2013 at 8:41 AM, Olemis Lang <olemis@gmail.com <mailto:
>> olemis@gmail.com>> wrote:
>>
>>     On Dec 5, 2013 9:08 AM, "Eric Ladner" <eric.ladner@gmail.com
>>     <ma...@gmail.com>> wrote:
>>     >
>>     > I figured I'd ask before actually creating a ticket (if this is
>>     indeed an
>>     > issue).
>>     >
>>     > On the activity history list on the left side (date ordered list
>>     of events
>>     > and comments on the right), the Reported by and it's associated
>>     date is
>>     > incorrect.
>>     >
>>     > Where is this date (and username) gathered from?  I've poked
>>     through the
>>     > source and the data in the tables and can't find anything that
>>     jumps out
>>     at
>>     > me.
>>     >
>>     > It looks like every "reported by" is my id, even for a couple of
>>     tickets
>>     > that were created by admin before I ever created my id.  Another
>>     user has
>>     > created some tickets and they also show as "reported by" me.
>>     >
>>     > In reports, though, reported by shows correctly.
>>     >
>>     > Any ideas where to look?
>>     >
>>     > (No, I have not fiddled with the source - Yes, I've fiddled with
>>     the data
>>     > in the tables directly, but not for the tickets mentioned above.)
>>     >
>>     > Thanks!
>>     > --
>>     > Eric Ladner
>>
>>     Timeline events a contirbuted by plugins. Since I can not
>>     reproduce this
>>     issue could you please mention the steps that lead to this failure?
>>
>>     If you could mention them all from scratch (i.e. Start by creating
>>     product
>>     etc. ) on a fresh sandbox environment then much better because I
>>     could use
>>     the sequence to write a (functional) test case and fix bugs on
>>     failure.
>>
>>     Regards.
>>
>>     Sent from Android
>>
>>     --
>>     Regards
>>
>>     Olemis - @olemislc
>>     Blog-ES : http://simelo-es.blogspot.com
>>     Blog-EN : http://simelo-en.blogspot.com
>>     Projects : http://blood-hound.net
>>
>>
>>
>>
>> --
>> Eric Ladner
>>
>
>


-- 
Eric Ladner

Re: Reported by (and timestamp) incorrect on activity history

Posted by Gary Martin <ga...@wandisco.com>.
Hi Eric,

I suspect that the screen shot attachment was stripped from the email. 
There is no harm in raising a ticket to attach the screenshot to if you 
wish.

Cheers,
     Gary

On 05/12/13 14:51, Eric Ladner wrote:
> Here's what I'm talking about (see screen shot).  I don't think that's 
> part of the timeline, per se.
>
> I'll try and create a test environment today.
>
>
> On Thu, Dec 5, 2013 at 8:41 AM, Olemis Lang <olemis@gmail.com 
> <ma...@gmail.com>> wrote:
>
>     On Dec 5, 2013 9:08 AM, "Eric Ladner" <eric.ladner@gmail.com
>     <ma...@gmail.com>> wrote:
>     >
>     > I figured I'd ask before actually creating a ticket (if this is
>     indeed an
>     > issue).
>     >
>     > On the activity history list on the left side (date ordered list
>     of events
>     > and comments on the right), the Reported by and it's associated
>     date is
>     > incorrect.
>     >
>     > Where is this date (and username) gathered from?  I've poked
>     through the
>     > source and the data in the tables and can't find anything that
>     jumps out
>     at
>     > me.
>     >
>     > It looks like every "reported by" is my id, even for a couple of
>     tickets
>     > that were created by admin before I ever created my id.  Another
>     user has
>     > created some tickets and they also show as "reported by" me.
>     >
>     > In reports, though, reported by shows correctly.
>     >
>     > Any ideas where to look?
>     >
>     > (No, I have not fiddled with the source - Yes, I've fiddled with
>     the data
>     > in the tables directly, but not for the tickets mentioned above.)
>     >
>     > Thanks!
>     > --
>     > Eric Ladner
>
>     Timeline events a contirbuted by plugins. Since I can not
>     reproduce this
>     issue could you please mention the steps that lead to this failure?
>
>     If you could mention them all from scratch (i.e. Start by creating
>     product
>     etc. ) on a fresh sandbox environment then much better because I
>     could use
>     the sequence to write a (functional) test case and fix bugs on
>     failure.
>
>     Regards.
>
>     Sent from Android
>
>     --
>     Regards
>
>     Olemis - @olemislc
>     Blog-ES : http://simelo-es.blogspot.com
>     Blog-EN : http://simelo-en.blogspot.com
>     Projects : http://blood-hound.net
>
>
>
>
> -- 
> Eric Ladner


Re: Reported by (and timestamp) incorrect on activity history

Posted by Eric Ladner <er...@gmail.com>.
Here's what I'm talking about (see screen shot).  I don't think that's part
of the timeline, per se.

I'll try and create a test environment today.


On Thu, Dec 5, 2013 at 8:41 AM, Olemis Lang <ol...@gmail.com> wrote:

> On Dec 5, 2013 9:08 AM, "Eric Ladner" <er...@gmail.com> wrote:
> >
> > I figured I'd ask before actually creating a ticket (if this is indeed an
> > issue).
> >
> > On the activity history list on the left side (date ordered list of
> events
> > and comments on the right), the Reported by and it's associated date is
> > incorrect.
> >
> > Where is this date (and username) gathered from?  I've poked through the
> > source and the data in the tables and can't find anything that jumps out
> at
> > me.
> >
> > It looks like every "reported by" is my id, even for a couple of tickets
> > that were created by admin before I ever created my id.  Another user has
> > created some tickets and they also show as "reported by" me.
> >
> > In reports, though, reported by shows correctly.
> >
> > Any ideas where to look?
> >
> > (No, I have not fiddled with the source - Yes, I've fiddled with the data
> > in the tables directly, but not for the tickets mentioned above.)
> >
> > Thanks!
> > --
> > Eric Ladner
>
> Timeline events a contirbuted by plugins. Since I can not reproduce this
> issue could you please mention the steps that lead to this failure?
>
> If you could mention them all from scratch (i.e. Start by creating product
> etc. ) on a fresh sandbox environment then much better because I could use
> the sequence to write a (functional) test case and fix bugs on failure.
>
> Regards.
>
> Sent from Android
>
> --
> Regards
>
> Olemis - @olemislc
> Blog-ES : http://simelo-es.blogspot.com
> Blog-EN : http://simelo-en.blogspot.com
> Projects : http://blood-hound.net
>



-- 
Eric Ladner

Re: Reported by (and timestamp) incorrect on activity history

Posted by Olemis Lang <ol...@gmail.com>.
On Dec 5, 2013 9:08 AM, "Eric Ladner" <er...@gmail.com> wrote:
>
> I figured I'd ask before actually creating a ticket (if this is indeed an
> issue).
>
> On the activity history list on the left side (date ordered list of events
> and comments on the right), the Reported by and it's associated date is
> incorrect.
>
> Where is this date (and username) gathered from?  I've poked through the
> source and the data in the tables and can't find anything that jumps out
at
> me.
>
> It looks like every "reported by" is my id, even for a couple of tickets
> that were created by admin before I ever created my id.  Another user has
> created some tickets and they also show as "reported by" me.
>
> In reports, though, reported by shows correctly.
>
> Any ideas where to look?
>
> (No, I have not fiddled with the source - Yes, I've fiddled with the data
> in the tables directly, but not for the tickets mentioned above.)
>
> Thanks!
> --
> Eric Ladner

Timeline events a contirbuted by plugins. Since I can not reproduce this
issue could you please mention the steps that lead to this failure?

If you could mention them all from scratch (i.e. Start by creating product
etc. ) on a fresh sandbox environment then much better because I could use
the sequence to write a (functional) test case and fix bugs on failure.

Regards.

Sent from Android

--
Regards

Olemis - @olemislc
Blog-ES : http://simelo-es.blogspot.com
Blog-EN : http://simelo-en.blogspot.com
Projects : http://blood-hound.net