Skip to content

[BUG] Changing Content Presentation Type in a View Results in Errors #3709

@jeremy-farrance

Description

@jeremy-farrance

Bug Affects...

[x] edit experience / UI
[x] admin experience UI
[x] Content Types or data management

Current Behavior and How to Reproduce

Working in an App updating a (List) View. The View has been in use for a while on multiple pages, each with data assigned and displaying nicely. The View is using Content-Item Presentation and has a Content Type for Presentation assigned named "CardsBasic". We made a new CT named "CardsFancy" with some additional fields, then went into the View and updated to the new Content Presentation Type.

After saving and going back to the page, things are displaying without error.

ERROR 1

Try to Change Layout and the 2sxc builder UI is broken. No console error and the 404 is showing because the IFRAME is pointing to null, e.g. https://ceta.fass.org/desktopmodules/tosic_sexycontent/dist/quick-dialog/null

Image

ERROR 2

If you try to edit any of the records with the standard toolbar Edit button, you get a "can't find" error:

Image

Expected Behavior

Even though the Id/Guid of the record's associated content presentation type is in a different Content-Type, there needs to be a more graceful way to report what is actually wrong; neither of the errors above provide enough information to understand what is really wrong. Offer to remove the record that can't be found?

For ERROR 2, "live with it" and display the record's Edit UI maybe showing the unfound Guid instead of the record title?

Your environment

  • 2sxc version(s): v20.00.08
  • Browser: any/all, n/a
  • DNN: any? we are on DNN v10.01.02
  • Hosting platform: IIS
  • Ui Languages: any/all, English

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions