https://bugzilla.wikimedia.org/show_bug.cgi?id=59043

       Web browser: ---
            Bug ID: 59043
           Summary: REPORTS-30 Multi-line %wikis fails
           Product: Tool Labs tools
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: tsreports
          Assignee: wmf.bugconver...@gmail.com
          Reporter: wmf.bugconver...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

This issue was converted from https://jira.toolserver.org/browse/REPORTS-30.
Summary: Multi-line %wikis fails
Issue type: Bug - A problem which impairs or prevents the functions of the
product.
Priority: Major
Status: Resolved
Assignee: River Tarnell <river.tarn...@wikimedia.de>

-------------------------------------------------------------------------------
From: River Tarnell <river.tarn...@wikimedia.de>
Date: Wed, 17 Sep 2008 22:10:47
-------------------------------------------------------------------------------

When a multi-line %wikis ... %end is used, nightly fails because of incorrect
splitting:

    river@hemlock:~/tsreports>./nightly
    mostrevisions
    Traceback (most recent call last):
      File "./nightly", line 45, in <module>
        w = repdb.find_wiki_domain(context, wiki)
      File "/home/river/ts-reports/python/repdb.py", line 58, in
find_wiki_domain
        raise ValueError('no such wiki')
    ValueError: no such wiki


The problem is an empty string ends up in the wiki list, from the split at
Reports.py:82.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to