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

Replicate item in Add Donated item yields SQL error #540

Closed
dschwen opened this issue Apr 10, 2016 · 4 comments
Closed

Replicate item in Add Donated item yields SQL error #540

dschwen opened this issue Apr 10, 2016 · 4 comments
Labels

Comments

@dschwen
Copy link

dschwen commented Apr 10, 2016

https://accounting.idahofallsuu.org/DonatedItemReplicate.php?DonatedItemID=3&Count=4

Cannot execute query.
INSERT INTO donateditem_di (di_item,di_FR_ID,di_donor_ID,di_multibuy,di_title,di_description,di_sellprice,di_estprice,di_minimum,di_materialvalue,di_EnteredBy,di_EnteredDate,di_picture)SELECT 'Children's apronsa',di_FR_ID,di_donor_ID,di_multibuy,di_title,di_description,di_sellprice,di_estprice,di_minimum,di_materialvalue,1,'20160410123637',di_picture FROM donateditem_di WHERE di_ID=3

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'apronsa',di_FR_ID,di_donor_ID,di_multibuy,di_title,di_description,di_sellprice,d' at line 1
@dschwen dschwen added the bug label Apr 10, 2016
@crossan007
Copy link
Contributor

te,di_picture)SELECT 'Children'

note the lack of a space after ) and SEL..

This happened in a few other queries where there's a line break in the SQL clause, and the space was removed.

@crossan007
Copy link
Contributor

@dschwen Are you actively using the fundraiser feature?

@dschwen
Copy link
Author

dschwen commented May 5, 2016

Yes, we have one going on in two weeks. I'm currently entering donations.

On Wed, May 4, 2016 at 5:53 PM Charles notifications@github.com wrote:

@dschwen https://github.com/dschwen Are you actively using the
fundraiser feature?


You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub
#540 (comment)

@crossan007 crossan007 added this to the 2.2.1 milestone Sep 10, 2016
@DawoudIO DawoudIO modified the milestone: 2.2.1 Sep 30, 2016
@DawoudIO
Copy link
Contributor

DawoudIO commented Nov 7, 2016

is this still an issue

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

3 participants