Update links to child objects in TextFields and ReferenceFields when an Archetypes based object is copied and pasted
Project description
Introduction
A drop in package for Plone that improves the copy and paste operation of folder structures. Reference fields (e.g. relatedItems) and UID inline links in text fields are rewritten if they reference any of the content within the folder structure being copied so that they now link to the copied content.
Development
the buildout in this package will create a test stub which can be run with:
./bin/test
See the doctests for more information of what this package does.
Credits
Initial development by Matt Halstead sponsored by Innovationz.
Addition of reference field handling by Matt Halstead sponsored by Informaat.
Installation
This package requires Plone 3.x or later (tested on 3.3.x).
If you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can add collective.updatelinksoncopy to the list of eggs to install, e.g.:
[buildout] ... eggs = ... collective.updatelinksoncopy
(If you are working with a version of Plone < 3.3 then you’ll also need to install a ZCML slug.)
Changelog
1.0b3 (2010-03-16)
1.0b2 (2010-03-12)
Update reference fields which point to objects within the copy tree. For example, the default relatedItems field on Archetype Document, or custom reference fields.
1.0b1 (2010-02-05)
Initial release [Matt Halstead]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.updatelinksoncopy-1.0b3.zip
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43522372664574c9f9f619ac9900fc6525cf4f5a07b56f9feb9829b03bcc06ef |
|
MD5 | a581472a92d3153361962afb57cdc911 |
|
BLAKE2b-256 | c2c3c7404c13f232d3b71feca9e411c9768bd4e4941c7d65ddd2668bf3d80761 |