dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
864 stars 466 forks source link

Layout Editor: Content moving is removing the content in EMA server #27648

Open m27iu4 opened 9 months ago

m27iu4 commented 9 months ago

Parent Issue

No response

Problem Statement

Steps to Reproduce

Acceptance Criteria

dotCMS Version

23.10.24v1lts

Proposed Objective

Technical User Experience

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.zendesk.com/agent/tickets/115188 screen-capture-content-removed-from-DOM.webm

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

fmontes commented 9 months ago

Add this settings to the old ema app:

[
  {
    "pattern": ".*",
    "urlEndpoint": "https://demospa.dotcms.com/ema",
    "includeRendered": false
  }
]

And reproduce easily.

Looks like when we drop in the same container, we are not emitting the event to reload.

fmontes commented 9 months ago

If we reorder it works.

fmontes commented 8 months ago

@erickgonzalez can you check this one out in master?

fmontes commented 8 months ago

@erickgonzalez tested

erickgonzalez commented 8 months ago

There are still a couple of issues here: 1- When D&D content to another container is no longer disappearing but is taking a couple of seconds to reload (in the master server, it was immediately when I tried). 2- Moving content to a forbidden container or if we decide not to drop it, thus returning it to its original position, the content disappears from the DOM, necessitating a page reload to perform any operations on the content.

fmontes commented 4 months ago

@nollymar there were some changes that @freddyDOTCMS did with this and probably this is already fix, we might need to do some IQA and if everything is good we can close it.

fmontes commented 2 weeks ago

This just need IQA