acs-aem-commons icon indicating copy to clipboard operation
acs-aem-commons copied to clipboard

Uploaded files are not displaying in the FileUploadComponent field of MCP

Open BH22154 opened this issue 1 year ago • 4 comments

Required Information

  • [ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: 2024.6.16971.20240628T122619Z
  • [ ] ACS AEM Commons Version: 6.4

Expected Behavior

When we upload an excel file in the FileUploadComponent of MCP form, it should display the uploaded file name

Actual Behavior

The uploaded file doesn't display and it seems as if nothing is uploaded even though on running the form, the excel data is read as expected. This same behavior exists in OOTB MCP forms like Tag Creator, Renovator

###Screenshot An excel file is uploaded here, but it appears as if no file is uploaded image

Code - image

BH22154 avatar Oct 01 '24 09:10 BH22154

Hi Team, Could you please check and let us know if it's any version related issue?

BH22154 avatar Oct 01 '24 09:10 BH22154

Hi Team, Can anyone check and help with this issue?

BH22154 avatar Oct 03 '24 06:10 BH22154

I tried on latest SDK with ACS Commons 6.7.0 and it created tags from the sample file: https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/tag-creator/acs-commons__tag-creator--sample-file.xlsx?raw=true

When i selected the file, it didnt show the name in the UI - but when i clicked Start it worked. Is that what youre experiencing as well? This hasnt been touched in months/years on ACS Commons, so it might be a regression in AEM CS thats changing this behavior.

2024-10-03 at 4 44 PM

2024-10-03 at 4 44 PM

davidjgonzalez avatar Oct 03 '24 20:10 davidjgonzalez

Hi @davidjgonzalez , Yes facing the same issue. The MCP process runs on the uploaded file as expected, but the name of the file uploaded doesn't show up in the UI. Hence it's a little confusing for the users. So what would be the fix for this issue?

BH22154 avatar Oct 04 '24 09:10 BH22154