[LIVECOPY-297] Create live copy files in combination with Magnolia Forms module Created: 09/Dec/21  Updated: 18/Oct/22  Resolved: 29/Mar/22

Status: Closed
Project: Live Copy
Component/s: None
Affects Version/s: 3.2.6, 3.2.7
Fix Version/s: 3.2.8

Type: Bug Priority: Major
Reporter: Tobias Kerschbaum Assignee: Jesus Alonso
Resolution: Fixed Votes: 0
Labels: VN-Testing
Remaining Estimate: 0d
Time Spent: 2.75h
Original Estimate: Not Specified
Environment:

Magnolia version: 6.2.13
magnolia-form version: 2.7.3


Attachments: Text File LiveCopy error stacktrace.txt     PNG File image-2021-12-09-08-37-40-488.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthorX 6
Story Points: 3
Team: AuthorX

 Description   

Steps to reproduce

  1. Create an environment with LiveCopy and the Magnolia Forms module
  2. Create a page with a simple form
  3. Try to create a live copy page out of the page including the form

Expected results

It should be no problem to create a live copy page even if the page includes a form.

Actual results

I get the following error (see LiveCopy error stacktrace.txt):

Workaround

There is no workaround as far as I could see.

Development notes

I think the problem is related to this line: https://git.magnolia-cms.com/projects/ADDON/repos/live-copy/browse/src/main/java/info/magnolia/livecopy/actions/BulkLiveCopyAction.java#91

But the question is why the render engine triggers the form submit. 



 Comments   
Comment by Patrik Jeller [ 17/Mar/22 ]

We also experience this problem with LiveCopy 3.2.7 and Magnolia 6.2.17 (earlier versions are also affected). The behavior for us is as described in this ticket. The method 'BulkLiveCopyAction.execute' triggers a rendering of the page (why??) which in turn leads to FormProcessor's being run. This prevents us from creating live copies for various pages which is a major problem for us.

 

Comment by Mercedes Iruela [ 21/Mar/22 ]

Hello Patrik, 

If this issue is blocker for you, please open a support ticket so that we can have more details for this ticket prioritization.

Thanks.

Mercedes

Generated at Mon Feb 12 02:27:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.