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

Forms files cause error on cp in v 2.5.2 #1214

Closed
mariovass opened this Issue Jan 31, 2017 · 5 comments

Comments

Projects
None yet
5 participants
@mariovass

mariovass commented Jan 31, 2017

When click into a form to view submissions i get a form error.

image

statamic-2017-01-31.txt

@colinmeinke

This comment has been minimized.

colinmeinke commented Jan 31, 2017

For context, this was after running the upgrader to 2.5. Before that viewing these forms worked fine. The forms that throw this error seem to all have file fields in common.

@jaggy

This comment has been minimized.

jaggy commented Jan 31, 2017

Could you try running php please clear:cache and php please clear:stache and see if that fixes it?

@mariovass mariovass changed the title from Forms files cause error on cp in v 2.5.1 to Forms files cause error on cp in v 2.5.2 Feb 1, 2017

@mariovass

This comment has been minimized.

mariovass commented Feb 1, 2017

@jackmcdade what more info would you like?

@jackmcdade

This comment has been minimized.

Member

jackmcdade commented Feb 1, 2017

What's some of the data in the submissions? I'm pretty sure any display issues would be because of a datatype we didn't expect

@mariovass

This comment has been minimized.

mariovass commented Feb 1, 2017

@jackmcdade it is all forms with files.

Here is one form with 5 responses these are the file types and this is the formset settings.

fields:
  name:
    display: Name
    validate: required
  email:
    display: Email
    validate: required|email
  phone:
    display: Phone
  company:
    display: Company
  lead_page:
    display: Lead Page
  existing_account:
    display: Existing Account
  merchant_id:
    display: Merchant ID
  dba:
    display: DBA
    validate: required
  looking_for:
    display: Looking For
    validate: required
  logo:
    display: Logo
    validate: required|mimes:gif,jpeg,jpg,png
    type: asset
    container: 380dc8d9-481c-4d18-9162-ecd5688f98a8
    folder: partner-logos
columns:
  - name
  - email
  - phone
  - company
  - merchant_id
  - existing_account
  - dba
  - looking_for
  - logo
email:
  - 
    to: marketing@cardconnect.com
    from: marketing@cardconnect.com
    subject: HPP form submitted
    template: hpp
  - 
    to: cardpointesupport@cardconnect.com
    from: marketing@cardconnect.com
    subject: HPP form submitted
    template: hpp

image

Sample of one of the submissions

email: lgilman@lgdirect.net
phone: 267-908-3863
company: Larry Gilman Direct
existing_account: 'yes'
merchant_id: "496216110882"
dba: Larry Gilman Direct
looking_for:
  - Customized Payments Page
  - Default Payments Page
lead_page: https://cardconnect.com/partner/hpp
logo: 1730eb5f-0eea-4abd-8008-422667bcf777
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment