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

CreateUpdateCommand fix for zero length string #194

Closed
wants to merge 2 commits into from

Commits on Jun 2, 2013

  1. CreateUpdateCommand fix for zero length string

    If you try to submit form that has some empty fields and then try to update the database using
    
    table.Update(Request.Form, ID);
    
    You might get error saying
    
    The UPDATE statement conflicted with the CHECK constraint - Allow Zero Length.
    
    This change fixes it by replacing empty string with 'Null'.
    srdjo committed Jun 2, 2013
    Configuration menu
    Copy the full SHA
    8ad91a8 View commit details
    Browse the repository at this point in the history
  2. Fixed "Null" to null

    srdjo committed Jun 2, 2013
    Configuration menu
    Copy the full SHA
    9d88f67 View commit details
    Browse the repository at this point in the history