Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
451 stars 597 forks source link

Content Fragment Import has stopped working #3361

Open JonasSweden opened 2 months ago

JonasSweden commented 2 months ago

Required Information

Expected Behavior

When uploading an Excel sheet, all works fine, but when I start the process, it takes a second and after that nothing is imported. We have tried different excel sheets and also several users, with same result.

When I return to the overview screen, I don't get an error message, but as you can see in the screenshot added to this case, it looks strange stating "n/a" under Started and Completed columns.

Actual Behavior

Please describe briefly the actual behavior, i.e. when I do X, Z happens. Capture

Steps to Reproduce

The url where I have worked on (prod) https://author-xxx-xxx.adobeaemcloud.com/apps/acs-commons/content/manage-controlled-processes.html

Links

Links to related assets, e.g. content packages containing test components

davidjgonzalez commented 1 month ago

Do you have a Excel file you can share that is breaking?

JonasSweden commented 1 month ago

Hello David,

Yes, please find the attached file, this is one that's not working.

Thanks, Jonas

Jonas Kullberg Stena Line Scandinavia AB | 405 19 Gothenburg, Sweden Office: +4631858155 | Mobile: +46704858155

From: david g. @.> Sent: den 25 juni 2024 19:42 To: Adobe-Consulting-Services/acs-aem-commons @.> Cc: Kullberg Jonas @.>; Author @.> Subject: Re: [Adobe-Consulting-Services/acs-aem-commons] Content Fragment Import has stopped working (Issue #3361)

Do you have a Excel file you can share that is breaking?

- Reply to this email directly, view it on GitHubhttps://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/3361#issuecomment-2189592511, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJIHQS7CHU5OVE6ER2M2ORTZJGTXNAVCNFSM6AAAAABJNY4YHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZGU4TENJRGE. You are receiving this because you authored the thread.Message ID: @.**@.>>

davidjgonzalez commented 1 month ago

@JonasSweden I dont see your Excel - but i did try with this simple import file: 2024-06-26 at 8 49 AM

..And it works with AEM 6.5. SP21 and ACS Commons 6.6.2.

2024-06-26 at 8 49 AM

You have to make sure you have ae CF Model defined at the template path in the Excel, and that model is allowed under whatever path youre created the CFs at.

You also cannot have content at the part the new CF will resolve to (for example, if you careated a folder a /content/dam/we-retail/test-1 the import fails because there's a folder at the location youre trying to create a CF at.

Can you setup a logger on DEBUG for com.adobe.acs.commons and see if there's a any info that appears?

JonasSweden commented 1 month ago

Thanks for looking into this. Not sure why the excel file gets stripped off the email when I send it to you. The excel file we’ve worked with previously (same as I attached) have worked fine up until last week. Then all of a sudden none of our excel sheets that we are using, both by me and my colleagues, stopped working.

We have an older version of AEM commons, so we will try also to upgrade it to latest to see if it will help.

I have attached the file again, this time on the web form.

Thanks, Jonas

AppTexts bulk import.xlsx