Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploaded files are not displaying in the FileUploadComponent field of MCP #3441

Open
2 tasks
BH22154 opened this issue Oct 1, 2024 · 4 comments
Open
2 tasks

Comments

@BH22154
Copy link

BH22154 commented Oct 1, 2024

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
Copy link
Author

BH22154 commented Oct 1, 2024

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

@BH22154
Copy link
Author

BH22154 commented Oct 3, 2024

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

@davidjgonzalez
Copy link
Contributor

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

@BH22154
Copy link
Author

BH22154 commented Oct 4, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants