Trying to change the datecreated attribute of a product OOPSes instead of giving a "read-only" error

Bug #309119 reported by Ursula Junque
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Brad Crittenden

Bug Description

Trying to change the datecreated attribute of a project through the API OOPSes. It's better if it returns one read-only attribute error instead of oopsing like this: OOPS-1082S231

 ForbiddenAttribute: ('datecreated', <Product at 0x2aaaaf2162d0>)

<bac> the datecreated is a readonly attribute
<bac> no one should ever be able to change it
<bac> we can mark it as readonly in the interface and then export it in the zcml and then people will get a 'read only' error instead of a forbidden

Ursula Junque (ursinha)
description: updated
Changed in launchpad-registry:
assignee: nobody → bac
Brad Crittenden (bac)
Changed in launchpad-registry:
milestone: none → 2.2.1
status: New → In Progress
importance: Undecided → Medium
Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Medium → High
Revision history for this message
Brad Crittenden (bac) wrote :

RF 7508

Changed in launchpad-registry:
status: In Progress → Fix Committed
Brad Crittenden (bac)
Changed in launchpad-registry:
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.