Changeset 1964


Ignore:
Timestamp:
08/27/07 14:25:48 (12 years ago)
Author:
jukka
Message:

Fixed #1502.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Resources.py

    r1956 r1964  
    990990        reftool= getToolByName(self, 'reference_catalog') 
    991991        source=discussion.aq_parent 
    992         reftool.deleteReference(discussion, self,  'is_discussion_about') 
    993         destination.manage_pasteObjects(source.manage_cutObjects(discussion.id)) 
     992        reftool.deleteReference(discussion, self,  'is_discussion_about')         
     993        source._delObject(discussion.id) 
     994        destination._setObject(discussion.id, discussion) 
    994995        discussion=getattr(destination, discussion.id) 
    995996        reftool.addReference(discussion, self, 'is_discussion_about') 
Note: See TracChangeset for help on using the changeset viewer.