[PAGES-103] Components can't be pasted across pages Created: 31/Oct/16  Updated: 09/Mar/21  Resolved: 22/Nov/16

Status: Closed
Project: Magnolia pages module
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.1

Type: Bug Priority: Major
Reporter: Andreas Weder Assignee: Maxime Michel
Resolution: Fixed Votes: 0
Labels: page-editor, usability, ux
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Found with snapshot: magnolia-enterprise-pro-demo-bundle-5.5-20161030.091240-342-tomcat-bundle
Firefox 49.0.2 on Mac OS X 10.11.6


Issue Links:
causality
caused by PAGES-84 Offer copy+paste of components in the... Closed
dependency
duplicate
duplicates MGNLUI-3153 Duplicate components in in the page e... Closed
relation
is related to PAGES-108 Design nicer component copy-paste widget Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: Basel 71
Story Points: 8

 Description   

I've verified the mechanisms for copying and pasting components in the page editor. I can't copy a component on one page, then paste it on a duplicate of the same page. It seems, actually, that I can't c&p of components to work across pages in general.

Steps to reproduce

  1. In the Travel demo, duplicate the page /travel/about/company. This leads to the creation of the page /travel/about/company0.
  2. Copy the text/image component on the /travel/about/company.
  3. Open the page /travel/about/company0 (the duplicate), and try to paste the copied text/image component into the "Main" area.

The "paste component(s)" action is not enabled, but I actually expect it to.

Note that copy+paste of components within the same page, but different areas works fine.



 Comments   
Comment by Andreas Weder [ 31/Oct/16 ]

I'm bumping this to "major" as:

  • copy+paste within a page is not really useful
  • this might be a regresssion, as the page on the productized module claims this is working: https://wiki.magnolia-cms.com/display/SERVICES/University+of+Zurich+(UZH)+-+copy+and+paste+module
    ("Select the target area where you want to paste the previously copied component - this area can also be located on a different page.")
  • this leads to really weird behavior that every page seems to have its own clipboard, which you really don't understand.

I seem to remember I saw this working the last time I checked.

Comment by Andreas Weder [ 15/Nov/16 ]

ejervidalo We've talked about indicating the clipboard status yesterday. I've given this more thought and would like to tackle it in two steps:

  1. We make copy+paste of components work across pages first.
  2. We then design and develop an approach that visualizes what is currently in the clipboard. I'm considering putting avongunten to that task.

The main goal of 2 is to design a solution that works not only for the page editor, but also for copy+paste in trees. That's why I'd like to give this more thought, and why I would not want us to rush out an implementation.

So, our copy+paste function in the page editor finalized by this issue does deliver the functionality, but it's usability will still need to be improved. That's a good-enough first step and was the original goal of productizing copy + paste.

Mmmmk?

Generated at Mon Feb 12 06:15:39 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.