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

Can not create new family #1057

Closed
bmakari opened this issue Sep 27, 2016 · 2 comments
Closed

Can not create new family #1057

bmakari opened this issue Sep 27, 2016 · 2 comments
Assignees
Labels

Comments

@bmakari
Copy link

bmakari commented Sep 27, 2016

Over the weekend, I had to add a few new families to the database. The experience of adding users individually is painful, so I decided to use the "Add New Family" feature, which appears to be broken.

Repro Steps:

  1. Navigate to "Members > Add New Family"
  2. Add family information
    NOTE: I tried just family name and address as well as adding members or leaving the section blank, both yielded same result
    Expected: New family members added
    Actual: SQL Error thrown (see below)

ERROR:
Cannot execute query.
INSERT INTO family_fam ( fam_Name, fam_Address1, fam_Address2, fam_City, fam_State, fam_Zip, fam_Country, fam_HomePhone, fam_WorkPhone, fam_CellPhone, fam_Email, fam_WeddingDate, fam_DateEntered, fam_EnteredBy, fam_SendNewsLetter, fam_OkToCanvass, fam_Canvasser, fam_Latitude, fam_Longitude, fam_Envelope) VALUES ('Trump','123 MAIN STREET','','','WA','','United States','','','9119119111','',NULL,'20160927005543',30,'TRUE','FALSE','','47.8121719','-122.3816412','0')

Incorrect integer value: '' for column 'fam_Canvasser' at row 1

@DawoudIO
Copy link
Contributor

DawoudIO commented Sep 28, 2016

Looks like the "Ok To Canvass: " field is not shown due to the bCanvasser role...

image

vs the standard

image

@DawoudIO DawoudIO added the bug label Sep 28, 2016
@DawoudIO DawoudIO added this to the 2.2.1 milestone Sep 28, 2016
@DawoudIO DawoudIO self-assigned this Sep 28, 2016
@DawoudIO
Copy link
Contributor

i can't repo this can you give more info

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

No branches or pull requests

2 participants