Skip to content

ContainedPartIndex fails when DisplayText over 255 chars long #16739

@XopcT

Description

@XopcT

Hi! There's a bug in ContainedPartIndex. It fails when you try to add an item with very long DisplayText (over 255 chars) to the component's list. It happens as ContainedPartIndex.DisplayText column has maximum length of 255 chars but provider does not truncate lengs of display text

Orchard Core 1.8.2

To Reproduce

  1. Create an item with List part
  2. Try to create item in the list with title longer than 255 chars

Expected behavior

Item is created

Actual behavior

Item is not created

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions