View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
408 | PHPOF2 | Default | public | 21 May 2012 09:13 | 21 May 2012 09:13 |
Reporter | mkierat | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 408: DBRow->store() should be final as it should never be overloaded | ||||
Description | store() just figures out if insert() or update() has to be called. In any derived classes overloads should be made for insert() and update() and never for store(), which unfortunately does happen. This might work for an individual developer where they call store() all the time, but if they call update() at one point (or any other developer calls update() then the code in the overloaded store() will never get executed leading to possible issues). | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
21 May 2012 09:13 | mkierat | New Issue |