IPOTemplate.path says it's not required

Bug #615673 reported by Jeroen T. Vermeulen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Jeroen T. Vermeulen

Bug Description

In the IPOTemplate interface, "path" is defined as non-required, and the edit form will accept an empty path field. Which then leads to an oops.

We should mark that field as required or, if that should prove impossible for whatever reason, at least make the form catch and reject empty paths.

OOPS-1682F553

Related branches

Changed in rosetta:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

As an experiment I tried making it a required field in both the interface and the model class (see attached branch) and none of the Translations tests broke. It's not quite worth the time to write tests for the change though, so I'll leave it at that.

Changed in rosetta:
status: Triaged → In Progress
assignee: nobody → Jeroen T. Vermeulen (jtv)
milestone: none → 10.09
Changed in rosetta:
status: In Progress → Fix Committed
Revision history for this message
Launchpad QA Bot (lpqabot) wrote : Bug fixed by a commit
tags: added: qa-needstesting
tags: added: qa-ok
removed: qa-needstesting
Curtis Hovey (sinzui)
Changed in rosetta:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.