~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/interfaces/bug.py

[r=sinzui][bug=680131] Add doNotSnapshot to IBug.activity to fix OOPS
        when marking yourself as affected by a bug.

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
    displayname = TextLine(title=_("Text of the form 'Bug #X"),
249
249
        readonly=True)
250
250
    activity = exported(
251
 
        CollectionField(
 
251
        doNotSnapshot(CollectionField(
252
252
            title=_('Log of activity that has occurred on this bug.'),
253
253
            value_type=Reference(schema=IBugActivity),
254
 
            readonly=True))
 
254
            readonly=True)))
255
255
    initial_message = Attribute(
256
256
        "The message that was specified when creating the bug")
257
257
    bugtasks = exported(