#3262 Inline edit type error not considered

3.4.0
fixed
nobody
AJAX (99)
5
2013-06-11
2011-04-08
Tarek Galal
No

If you try to save a string into a column of type INT, clicking "save" will tell you edit was succesful and will in fact show you the updated row. However refreshing the table would show you a 0 since of course you can't save a string in an INT col.

Discussion

  • onebighack

    onebighack - 2011-04-08

    This is what mysql does, it does not produce any error; although it does display a warning.

     
  • Tarek Galal

    Tarek Galal - 2011-04-08

    So I think at least the real values (which became 0) should be displayed instead of the string. Or as a better solution, if the warning cannot be somehow interpreted from code, then some client side validation might do the job. (prevent the error from happening in the first place).

     
  • Marc Delisle

    Marc Delisle - 2011-04-11
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed --> fixed