Menu

#196 Return to Viewing link is displayed always

closed-fixed
Uzume
5
2013-03-13
2010-12-22
No

In edit/isfdblib.py MakeModAndViewLinks, the line "if item_id and view_script:" appears to let through invalid values of item_id. item_id is invalid if it is the string "0", which (like all non-empty strings in Python) evaluates to true. The line should probably be changed to "if item_id != "0" and view_script:".

Discussion

  • Uzume

    Uzume - 2013-03-09

    edit/isfdblib.py 1.26 committed

     
  • Ahasuerus

    Ahasuerus - 2013-03-13
    • assigned_to: nobody --> uzume
    • labels: --> Editor Interface
    • status: open --> closed-fixed
     
  • Ahasuerus

    Ahasuerus - 2013-03-13

    Fixed in edit/isfdblib.py 1.28, installed in r2013-61 on 2013-03-12.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB