Changeset 52348
- Timestamp:
- 12/28/07 13:01:59 (2 years ago)
- Files:
-
- CPS3/products/CPSCore/trunk/CHANGES (modified) (1 diff)
- CPS3/products/CPSCore/trunk/ProxyBase.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
CPS3/products/CPSCore/trunk/CHANGES
r52198 r52348 7 7 Bug fixes 8 8 ~~~~~~~~~ 9 - #1874: "A CPS Proxy should have its effective_date set". 9 10 - Preparing the version number for the next release. 10 11 New internal features CPS3/products/CPSCore/trunk/ProxyBase.py
r51960 r52348 1 # (C) Copyright 2002 , 2003 Nuxeo SARL<http://nuxeo.com>1 # (C) Copyright 2002-2007 Nuxeo SAS <http://nuxeo.com> 2 2 # Author: Florent Guillaume <fg@nuxeo.com> 3 3 # … … 405 405 logger.debug("reindex idxs=%s for %s", idxs, 406 406 '/'.join(self.getPhysicalPath())) 407 # Update the effective date 408 # Optim: we only modify the effective_date if this is a global 409 # reindexing, ie after the object has been modified, 410 # and not in case of a catalog reindexing. 411 if idxs == []: 412 content = self._getContent() 413 if content is not None: 414 effective_date = self._getContent().effective_date 415 self.effective_date = effective_date 407 416 if 'allowedRolesAndUsers' in idxs: 408 417 # Both must be updated
