Mercurial > p > roundup > code
annotate locale/en.po @ 5548:fea11d05110e
Avoid errors from selecting "no selection" on multilink (issue2550722).
As discussed in issue 2550722 there are various cases where selecting
"no selection" on a multilink can result in inappropriate errors from
Roundup:
* If selecting "no selection" produces a null edit (a value was set in
the multilink in an edit with an error, then removed again, along
with all other changes, in the next form submission), so the page is
rendered from the form contents including the "-<id>" value for "no
selection" for the multilink.
* If creating an item with a nonempty value for a multilink has an
error, and the resubmission changes that multilink to "no selection"
(and this in turn has subcases, according to whether the creation
then succeeds or fails on the resubmission, which need fixes in
different places in the Roundup code).
All of these cases have in common that it is expected and OK to have a
"-<id>" value for a submission for a multilink when <id> is not set in
that multilink in the database (because the original attempt to set
<id> in that multilink had an error), so the hyperdb.py logic to give
an error in that case is thus removed. In the subcase of the second
case where the resubmission with "no selection" has an error, the
templating code tries to produce a menu entry for the "-<id>"
multilink value, which also results in an error, hence the
templating.py change to ignore such values in the list for a
multilink.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Thu, 27 Sep 2018 11:33:01 +0000 |
| parents | 6e3e4f24c753 |
| children | cab6338d7868 52bf078368e8 |
| rev | line source |
|---|---|
|
2916
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
1 # English message file for Roundup Issue Tracker |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
2 # |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
3 # roundup.pot revision 1.9 |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
4 # |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
5 # Currently Roundup has no strings that need english translation. |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
6 # This file is a dummy needed to provide the user with english UI |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
7 # if 'en' is the first item in locale preference list and the list |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
8 # also contains existing Roundup locale name. |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
9 # |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
10 msgid "" |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
11 msgstr "" |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
12 "Project-Id-Version: Roundup 0.7.0\n" |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
13 "Report-Msgid-Bugs-To: roundup-devel@lists.sourceforge.net\n" |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
14 "POT-Creation-Date: 2004-07-13 13:24+0300\n" |
|
2936
b5ad71ecf72b
specify charset
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2916
diff
changeset
|
15 "PO-Revision-Date: 2004-11-20 13:47+0200\n" |
|
2916
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
16 "Language-Team: English\n" |
|
14748e570cb3
English message file for Roundup Issue Tracker
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
diff
changeset
|
17 "MIME-Version: 1.0\n" |
|
2936
b5ad71ecf72b
specify charset
Alexander Smishlajev <a1s@users.sourceforge.net>
parents:
2916
diff
changeset
|
18 "Content-Type: text/plain; charset=us-ascii\n" |
