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.tarnell@wikimedia.de>
From: River Tarnell <river.tarnell@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.
Version: unspecified
Severity: major