Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Issue With Core FileUpload resourceType

Avatar

Avatar
Applaud 5
Level 2
krishna_chaita2
Level 2

Likes

12 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
Give Back 3
Boost 10
Boost 5
Give Back
View profile

Avatar
Applaud 5
Level 2
krishna_chaita2
Level 2

Likes

12 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
Give Back 3
Boost 10
Boost 5
Give Back
View profile
krishna_chaita2
Level 2

02-10-2018

Hi Team,

In our Projects, We are using core file upload resourecType(cq/gui/components/authoring/dialog/fileupload), in component dialogs to Allow Authors to Drag Drop Images. Below are the properties we using in dialog for this field. When we Darg Drop Image into these Fields and submit the Dialog, it is always showing error "Please Fill out this field". Any Pointers/Help to resolve this issue is really appreciated. We are using AEM 6.3.2.2

                              <heroImage

                                        jcr:primaryType="nt:unstructured"

                                        sling:resourceType="cq/gui/components/authoring/dialog/fileupload"

                                        allowUpload="{Boolean}false"

                                        autoStart="{Boolean}false"

                                        class="cq-droptarget"

                                        fieldDescription="Choose Hero Image"

                                        fieldLabel="Hero Image"

                                        fileReferenceParameter="./heroImage"

                                        mimeTypes="[image]"

                                        multiple="{Boolean}false"

                                        name="./heroImages"

                                       required="{Boolean}true"

                                        uploadUrl="${suffix.path}"

                                        useHTML5="{Boolean}true"/>

1584355_pastedImage_12.png

Thanks

K Chaitanya

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

02-10-2018

Hi,

Can you try with Coral2 and Coral3/Granite types?

Coral3

FileUpload — Granite UI 1.0 documentation

Coral2

FileUpload — Granite UI 1.0 documentation

Avatar

Avatar
Applaud 5
Level 2
krishna_chaita2
Level 2

Likes

12 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
Give Back 3
Boost 10
Boost 5
Give Back
View profile

Avatar
Applaud 5
Level 2
krishna_chaita2
Level 2

Likes

12 likes

Total Posts

44 posts

Correct Reply

0 solutions
Top badges earned
Applaud 5
Give Back 3
Boost 10
Boost 5
Give Back
View profile
krishna_chaita2
Level 2

02-10-2018

Hi Arun

It is working with Coral2 Or Coral 3. But UI of these fields are not Good.

In All our components(Around 70) we used core file upload resourecType. Earlier it was this issue is not there. Recently it started occurring. Also, this issue not occurring across all environments(Dev,QA,UAT,Prod). Only in Dev and Prod it is occurring.  QA and UAT are fine. We are unable to find what is wrong with Dev and Prod.

Thanks

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

02-10-2018

Ahh ok, If you identify the root cause, then you can try to overlay file upload in /apps/ and code fix the issue in /apps/.

and raise ticket with daycare also.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

02-10-2018

Agree with Arun - if it stopped working - there is a bug - please open a support ticket so it can get fixed.