SalesforceFoundation / Volunteers-for-Salesforce

Volunteers for Salesforce managed package
BSD 3-Clause "New" or "Revised" License
90 stars 94 forks source link

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

Open sbhatia11 opened 7 years ago

sbhatia11 commented 7 years ago

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.

judisohn commented 7 years ago

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!

davidhabib commented 7 years ago

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 commented 7 years ago

**lurch: add

LurchTheButler commented 7 years ago

Tracking W-018570

judisohn commented 7 years ago

Thanks for confirming @davidhabib

jillifoss commented 5 years ago

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
coriobriensfdo commented 5 years ago

@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.

jillifoss commented 5 years ago

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.