equal
deleted
inserted
replaced
68 |
68 |
69 def _default_publish(self): |
69 def _default_publish(self): |
70 req = self._cw |
70 req = self._cw |
71 self.errors = [] |
71 self.errors = [] |
72 self.relations_rql = [] |
72 self.relations_rql = [] |
|
73 # so we're able to know the main entity from the repository side |
|
74 if '__maineid' in form: |
|
75 req.set_shared_data('__maineid', form['__maineid'], querydata=True) |
73 # no specific action, generic edition |
76 # no specific action, generic edition |
74 self._to_create = req.data['eidmap'] = {} |
77 self._to_create = req.data['eidmap'] = {} |
75 self._pending_relations = [] |
78 self._pending_relations = [] |
76 todelete = self._cw.get_pending_deletes() |
79 todelete = self._cw.get_pending_deletes() |
77 toinsert = self._cw.get_pending_inserts() |
80 toinsert = self._cw.get_pending_inserts() |