#17 Bug in Project.pm - Delete topics

closed-accepted
nobody
None
5
2008-02-28
2008-02-28
rob_webset
No

I found a problem in Project.pm method delete()

The following code:
Codestriker::Model::Topic->query("", "", "", "",
"", $id, "",
"", "",
"", "", "",
\@sort_order, \@topic_query_results);

Calls the interface incorrectly - this was caused by the change made to Topic.pm under revision 1.42 which changed this interface.

Patch attached that updates Project.pm to call the interface correctly

Discussion

  • rob_webset
    rob_webset
    2008-02-28

    Patch to correct Project.pm (2)

     
    Attachments
  • rob_webset
    rob_webset
    2008-02-28

    Logged In: YES
    user_id=1137102
    Originator: YES

    Oops, the return data type changed as well.

    The following is the correcty tested patch
    File Added: Project.pm.patch

     
  • David Sitsky
    David Sitsky
    2008-02-28

    Logged In: YES
    user_id=208928
    Originator: NO

    Many thanks - I've committed that in.

     
  • David Sitsky
    David Sitsky
    2008-02-28

    • status: open --> closed-accepted