Make iscurrent attribute read-only.

Bug #816361 reported by Henning Eggers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

Now that we have a POTemplate.setActive method, the iscurrent attribute should be made read-only and setActive exported through the webservice. Making icurrent read-only forces the use of setActive which will update the suggestive potemplate cache when needed.
Most likely the bulk of the work to fix this is in updating all the tests that set iscurrent directly. That could probably be done in a first mechanical branch.

tags: added: api easy
Curtis Hovey (sinzui)
tags: added: tech-debt
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.