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/09/26 05:46:12 UTC
Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
On 9/24/13, Apache Bloodhound <de...@bloodhound.apache.org> wrote:
> #671: Product edits always reported as anonymous
After unlocking product edit form (see #669) , I moved forward and
submitted patches aimed at fixing this issue but ... this is what I
get
http://goo.gl/h8WDHe
The snapshot of that web page (recorded immediately after submitting
product fields) includes this message
{{{
Error: Invalid ticket number
Ticket 1 does not exist.
}}}
This means that it is impossible to edit product fields because the
system fails to add comment in tickets. IOW, it fails to load product
tickets by ID even if they are really there .
Can you reproduce this issue ?
Any hints ?
--
Regards,
Olemis - @olemislc
Re: Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
Posted by Olemis Lang <ol...@gmail.com>.
On 9/27/13, Anze Staric <an...@gmail.com> wrote:
> I opted for reading the test and performing it by hand :)
>
ok ... the important thing is to solve the issue ;)
> There was a bug in Product._update_relations, which should be fixed in
> r1526812. The code used direct query to get ticket ids, but tried to
> fetch the tickets with the current env, which was global env.
>
I'll take a look into that and report back to you the results I get .
Thanks
[...]
--
Regards,
Olemis - @olemislc
Apache⢠Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Re: Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
Posted by Anze Staric <an...@gmail.com>.
I opted for reading the test and performing it by hand :)
There was a bug in Product._update_relations, which should be fixed in
r1526812. The code used direct query to get ticket ids, but tried to
fetch the tickets with the current env, which was global env.
On Thu, Sep 26, 2013 at 5:13 PM, Olemis Lang <ol...@gmail.com> wrote:
> On 9/26/13, Olemis Lang <ol...@gmail.com> wrote:
>> On 9/26/13, Anze Staric <an...@gmail.com> wrote:
>>> Which test are you running? The patch
>>> t671_r1526159_product_edit_author.tests.diff looks empty to me, so I
>>> cannot (yet) reproduce your issue.
>>>
>>
>> I'm very sorry . I submitted the patch before actually refreshing it
>> with the contents of my local working copy . It should be ready now .
>>
>> https://issues.apache.org/bloodhound/attachment/ticket/671/t671_r1526159_product_edit_author.tests.diff
>>
>
> This will show you test steps . In order to actually run it it is
> necessary to apply all these patches
>
> {{{#!sh
>
> $ hg qapplied
> t387/t387_r1487712_bloodhound_setup.diff
> t387/t387_r1485255_functional_test_infra.diff
> t387/t387_r1495238_attach_btn_value.diff
> t387/t387_r1495238_functional_test.2.diff
> t387/t387_r1495238_functional_test.3.diff
> t387/t387_r1514232_functional_test.4.diff
> t387/t387_r1514860_functional_test.5.diff
> t387/t387_r1515319_functional_test.6.diff
> t387/t387_r1515319_functional_test.7.diff
> t598/t598_r1510975_new_product_intertracwiki.diff
> t598/t598_r1526159_form_id.diff
> t598/t598_r1510975_functional_tester_product.diff
> t598/t598_r1510975_test_new_product.diff
> t669/t669_r1525378_product_edit.diff
> t669/t669_r1525378_product_edit.tests.diff
> t387/t387_r1524640_no_r5994.diff
> t671/t671_r1526159_product_edit_author.diff
> t671/t671_r1526159_product_edit_author.tests.diff
>
> }}}
>
> --
> Regards,
>
> Olemis - @olemislc
Re: Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
Posted by Olemis Lang <ol...@gmail.com>.
On 9/26/13, Olemis Lang <ol...@gmail.com> wrote:
> On 9/26/13, Anze Staric <an...@gmail.com> wrote:
>> Which test are you running? The patch
>> t671_r1526159_product_edit_author.tests.diff looks empty to me, so I
>> cannot (yet) reproduce your issue.
>>
>
> I'm very sorry . I submitted the patch before actually refreshing it
> with the contents of my local working copy . It should be ready now .
>
> https://issues.apache.org/bloodhound/attachment/ticket/671/t671_r1526159_product_edit_author.tests.diff
>
This will show you test steps . In order to actually run it it is
necessary to apply all these patches
{{{#!sh
$ hg qapplied
t387/t387_r1487712_bloodhound_setup.diff
t387/t387_r1485255_functional_test_infra.diff
t387/t387_r1495238_attach_btn_value.diff
t387/t387_r1495238_functional_test.2.diff
t387/t387_r1495238_functional_test.3.diff
t387/t387_r1514232_functional_test.4.diff
t387/t387_r1514860_functional_test.5.diff
t387/t387_r1515319_functional_test.6.diff
t387/t387_r1515319_functional_test.7.diff
t598/t598_r1510975_new_product_intertracwiki.diff
t598/t598_r1526159_form_id.diff
t598/t598_r1510975_functional_tester_product.diff
t598/t598_r1510975_test_new_product.diff
t669/t669_r1525378_product_edit.diff
t669/t669_r1525378_product_edit.tests.diff
t387/t387_r1524640_no_r5994.diff
t671/t671_r1526159_product_edit_author.diff
t671/t671_r1526159_product_edit_author.tests.diff
}}}
--
Regards,
Olemis - @olemislc
Re: Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
Posted by Olemis Lang <ol...@gmail.com>.
On 9/26/13, Anze Staric <an...@gmail.com> wrote:
> Which test are you running? The patch
> t671_r1526159_product_edit_author.tests.diff looks empty to me, so I
> cannot (yet) reproduce your issue.
>
I'm very sorry . I submitted the patch before actually refreshing it
with the contents of my local working copy . It should be ready now .
https://issues.apache.org/bloodhound/attachment/ticket/671/t671_r1526159_product_edit_author.tests.diff
--
Regards,
Olemis - @olemislc
Re: Error: Invalid ticket number ... WAS: [Apache Bloodhound] #671:
Product edits always reported as anonymous
Posted by Anze Staric <an...@gmail.com>.
Which test are you running? The patch
t671_r1526159_product_edit_author.tests.diff looks empty to me, so I
cannot (yet) reproduce your issue.
On Thu, Sep 26, 2013 at 5:46 AM, Olemis Lang <ol...@gmail.com> wrote:
> On 9/24/13, Apache Bloodhound <de...@bloodhound.apache.org> wrote:
>> #671: Product edits always reported as anonymous
>
> After unlocking product edit form (see #669) , I moved forward and
> submitted patches aimed at fixing this issue but ... this is what I
> get
>
> http://goo.gl/h8WDHe
>
> The snapshot of that web page (recorded immediately after submitting
> product fields) includes this message
>
> {{{
> Error: Invalid ticket number
>
> Ticket 1 does not exist.
> }}}
>
> This means that it is impossible to edit product fields because the
> system fails to add comment in tickets. IOW, it fails to load product
> tickets by ID even if they are really there .
>
> Can you reproduce this issue ?
> Any hints ?
>
> --
> Regards,
>
> Olemis - @olemislc