Skip to main content

Introduction

The “IReferenceable” behavior is used for enabling UUID (plone.app.uuid) support for dexterity contents, like in archetypes content types. This allow for example references between archetypes and dexterity content types.

Note: It can’t work with Plone==4.0 because it is based on plone.uuid integration in CMF. It is compatible with Plone>=4.1

Usage

Just use the behavior “plone.app.referenceablebehavior.referenceable.IReferenceable” in your dexterity content type.

In your profiles/default/types/YOURTYPE.xml add the behavior:

<?xml version="1.0"?>
<object name="example.conference.presenter" meta_type="Dexterity FTI"
   i18n:domain="example.conference" xmlns:i18n="http://xml.zope.org/namespaces/i18n">

 <!-- enabled behaviors -->
 <property name="behaviors">
     <element value="plone.app.referenceablebehavior.referenceable.IReferenceable" />
 </property>

</object>

Changelog

0.7.9 (2021-10-07)

Bug fixes:

  • Prevent installation on Python 3, as we know Archetypes does not work there. [maurits] (#3330)

0.7.8 (2020-04-20)

Bug fixes:

  • Minor packaging updates. (#1)

0.7.7 (2017-02-05)

Bug fixes:

  • Do not load plone.app.referenceablebehavior.testing on package registration as it adds a broken dependency to plone.app.testing. [hvelarde]

  • Make tests pass with ZCatalog 4 [pbauer]

0.7.6 (2016-11-09)

Bug fixes:

  • Add coding header on python files. [gforcada]

0.7.5 (2016-08-18)

Fixes:

  • Use zope.interface decorator. [gforcada]

0.7.4 (2016-02-20)

Fixes:

  • Moved translations to plone.app.locales. Requires plone.app.locales 4.3.9 or higher. [claytonc]

0.7.3 (2015-09-07)

  • Linkintegrity no longer uses the reference_catalog. Skip tests that assume that is does. [pbauer]

0.7.2 (2015-07-18)

  • Move docs/HISTORY.txt -> CHANGES.rst. [timo]

  • Remove superfluous ‘for’. [fulv]

0.7.1 (2015-03-12)

  • Fix tests so they run on jenkins 4.3 - ecosystem [maartenkling]

  • Ported to plone.app.testing [tomgross]

0.7.0 (2014-05-21)

  • Slowly reducing AT behaviors. This package still depends on Archetypes but does not require its GS Profile to run. There are two tools currently provided by AT that are now installed with tis profile [do3cc]

  • Removed unused references to plone.directives.form. [do3cc]

0.6 (2014-04-16)

  • Fix test failures due to id changes in forms. [vanrees]

0.5 (2013-01-10)

  • Add a more complete implementation of the IReferenceable interface from Archetypes. Dexterity content using this behavior is now adaptable to IReferenceable rather than providing it directly. [jpgimenez]

  • Import getSite from zope.component to avoid dependency on zope.app.component. [hvelarde]

0.4.2 (2012-08-19)

  • Get object’s UID in a more proper way. [frapell]

0.4.1 (2012-08-18)

  • Fix packaging error. [esteele]

0.4 (2012-08-18)

  • Declare the dependency on Archetypes. [davisagli]

  • Handle IObjectMovedEvent events for referenceable types to avoid “unsuccessfully attempted to uncatalog an object” errors when removing an object previously moved. [frapell]

0.3 (2011-05-18)

  • Try obj first in event handlers, fall back to getSite(). When a site is being deleted getSite() will return None so isn’t useful. [lentinj]

0.2 (2011-04-30)

  • Use getSite() hook in event handlers, since the object may be not acquisition-wrapped in certain circumstances. [jbaumann]

  • Fix broken IReferenceable import. [daftdog]

0.1 (2011-02-11)

  • Add “locales” directory and french translation for the behavior. [sylvainb]

  • Add referenceable behavior to dexterity [toutpt]

  • Initial release [sylvainb]

Release files for plone.app.referenceablebehavior 0.7.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for plone.app.referenceablebehavior 0.7.9
File Size Uploaded
plone.app.referenceablebehavior-0.7.9.tar.gz 22.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plone.app.referenceablebehavior 0.7.9
File Interpreter ABI Platform
plone.app.referenceablebehavior-0.7.9-py2-none-any.whl Python 2 none any Details

Total release size: 43.0 kB

Release files / plone.app.referenceablebehavior-0.7.9.tar.gz

Download URL plone.app.referenceablebehavior-0.7.9.tar.gz
Size 22.6 kB
Tags Source
SHA-256 checksum
How to use checksums
490bb54356eb9773b692fccbd2dc0edc2b202f29e66fc74a747ade1dec00d73b
BLAKE2b-256 checksum
How to use checksums
e4c08a8bec3759f9d020793503c6ebc9d751a1c9e02db04329dff24240edf584
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/2.7.17

Release files / plone.app.referenceablebehavior-0.7.9-py2-none-any.whl

Download URL plone.app.referenceablebehavior-0.7.9-py2-none-any.whl
Size 20.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
7e93b97e572d13a94cc3db0811cd6bbac082aa8eb80ee47f645812c286347283
BLAKE2b-256 checksum
How to use checksums
d80008a9738cc9fba14ed1e523b5d0a7f31f052e48ade264574e311237420aa0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.0 requests/2.25.1 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/2.7.17

Release history Release notifications | RSS feed

This release

0.7.9 This release

2 release files

0.7.8

2 release files

0.7.7

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6

1 release file

0.5

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page