Volunteers-for-Salesforce icon indicating copy to clipboard operation
Volunteers-for-Salesforce copied to clipboard

VolunteerSignup Page (VolunteerSignupFS.page) shows error when attaching files

Open sbhatia11 opened this issue 7 years ago • 8 comments

VolunteerSignup Page (src\pages\VolunteerSignupFS.page) shows error when fileuploadlabel URL parameter is used to enable users to attach documents when using this form to signup as a volunteer. Here is what is happening:

  1. I accessed VolunteerSignupFS page without using the fileuploadlabel URL parameter. If I do that and submit the form, it works just fine - gives me back successful confirmation message back.

  2. If I access VolunteerSignupFS page with the fileuploadlabel URL parameter, it gives an error message. The error message says: Error details Visualforce Error: apex:inputFile can not be used in conjunction with an action component, apex:commandButton or apex:commandLink that specifies a rerender or oncomplete attribute.

sbhatia11 avatar May 06 '17 22:05 sbhatia11

Hi @sbhatia11 - go ahead and post this in the Volunteers for Salesforce group in the Hub. That's the best place to get troubleshooting advice. If it's determined that it's a bug, we can reopen this issue for further investigation. Thanks for understanding!

judisohn avatar May 08 '17 14:05 judisohn

actually @judisohn, we recently made a change on this page to use rerender to fix another issue, and this error is coming from the platform and explicitly states it isn't supported. So I'm sure it is a real issue recently introduced.

davidhabib avatar May 08 '17 14:05 davidhabib

**lurch: add

davidhabib avatar May 08 '17 14:05 davidhabib

Tracking W-018570

LurchTheButler avatar May 08 '17 14:05 LurchTheButler

Thanks for confirming @davidhabib

judisohn avatar May 08 '17 14:05 judisohn

Experiencing this now. Receive this message on a page stylized like the Volunteers Personal Site when using the Upload parameters in the URL (whether upload is included or not) - "Authorization Required

You must first log in or register before accessing this page. If you have forgotten your password, click Forgot Password to reset it." Screen Shot 2019-09-24 at 5 41 10 PM

jillifoss avatar Sep 25 '19 00:09 jillifoss

@jillifoss we don't actually provide support here, but thanks for adding your comments about the existing bug. The upload files tool isn't working at all, which is why you're getting an error. There is no workaround, so you'll want to remove that parameter from the URL altogether.

Feel free to post in the Power of Us Hub Volunteers for Salesforce group page if you would like some further assistance with V4S.

coriobriensfdo avatar Sep 25 '19 15:09 coriobriensfdo

thanks @coriobriensfdo. I didn't expect any support. Though I might have incorrectly assumed it will be resolved (one day), and thought an additional note would be helpful.

jillifoss avatar Sep 25 '19 15:09 jillifoss