Skip to content

Representations: Primary private, while not primary is public #162

Description

@Monica-Wood

This might be intended behaviour and what is needed is a note somewhere in the documentation.


If there is more than one representation on an object and the primary is set to private, while one or more of the others are set to public, then a check if there are representations based on access is returning false.

Both of the below are returning false
$object->get("ca_object_representations", array('checkaccess' => $access_values))
{{{<ifcount code="ca_object_representations" min="1"></ifcount>}}}

The use case for having a primary as private and others as public are cases such as:

  • An AV file is the primary representation, but this is private, while a PDF/Document of the transcript is public
  • An Article has the published version as primary and private and the pre-pub version as public.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions