Skip to content

TypeError: '<' not supported between instances of 'dict' and 'dict' #21

Description

@bogi788

In Plone 5.2 under Python 3 i'm getting

Module plone.app.workflow.browser.sharing, line 282, in existing_role_settings
TypeError: '<' not supported between instances of 'dict' and 'dict'

when opening the sharing view.

I didn't see this error before the migration to Python 2, and indeed {} < {} returns False in Python 2, but raises an error in Python 3.

The list that would have been sorted in that does have a dict as last element.

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