Menu

#11 QfDbObject QfTableData validation

beta
open
nobody
None
4
2007-11-13
2007-10-04
No

Currently, QfDbObject's refresh, submit, id, etc.. methods all call tableData() which returns a QfTableData*...
but what happens if the pointer or TableData is invalid?
We need some error management, because silent failure might lead to other problems (like creating bogus DB entries)

Discussion

  • Vincent Vinet

    Vincent Vinet - 2007-11-13
    • priority: 5 --> 4
     
  • Vincent Vinet

    Vincent Vinet - 2007-11-13

    Logged In: YES
    user_id=1867373
    Originator: YES

    See QfExtSpatialPoint for a possible way to fix this, but as always changing QfDbObject involves a LOT of changing in the model

     

Log in to post a comment.