2sic / 2sxc

DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
http://2sxc.org
MIT License
141 stars 38 forks source link

Quick-E Move and Copy don't work in Inner Content #3397

Open 6TELOIV opened 1 month ago

6TELOIV commented 1 month ago

I'm submitting a

[x] bug report [x] feature request

...about

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

Current Behavior / Expected Behavior

The Move and Copy Quick-E buttons do nothing in Inner Content contexts.

The expected behavior would be for them to function or not be present. I understand the differences in context for inner content, and could get why Move/Copy wouldn't work (no titled destination slots).

An idea for the function of it, maybe "Move" could move the app in between different inner content fields of items by titles and DNN panes by name. Like, if I had an accordion app with a pane item titled "My Pane" and a layout app whose item is called "My Layout" on the same page, then Move would have options like "Content Pane" for the DNN slots, and then also "My Pane (82938) > Content Field" and "My Layout (18340) > Child Items" for the items with inner content fields (Content Field and Child Items, respectively)

Instructions to Reproduce the Problem

I only noticed this with issue #3396, because I was trying to use the "Move" action to fix the ordering. The same demo app from that issue can be used to demo this issue

  1. Create an app using Inner Content
  2. Add some apps to it
  3. Try to move the apps using the Quick-E toolbar. Notice that nothing happens and a JS error is logged to console.
  4. Try to copy the apps using the Quick-E toolbar. Notice that the page refreshes but nothing happens

Your environment