Skip to content

Unauthorized exception for .getField('leadImage').tag () #7

Description

@jmce

In Plone 4.1.6 instance, calls to

item_obj.getField('leadImage').tag(scale='mini',title='')

in a template, where item_obj is an object with a lead image, fail with

Unauthorized: You are not allowed to access 'tag' in this context

Is this (logged in as a manager) unexpected?

UPDATE: I was forgetting to include item_obj as the first argument of tag(), but including it doesn't make this exception go away…

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions