Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006641 [JEDI VCL] 00 JVCL Components minor always 2018-06-25 10:10 2019-04-27 14:00
Reporter tstoicescu View Status public  
Assigned To
Priority normal Resolution open  
Status feedback   Product Version 3.48
Summary 0006641: JvDBTreeView - insert record
Description /Jvcl/Run/JvDBTreeView.pas:
Bug: Editing items's parent in State = dsInsert, it do Post and (wrong) Insert again (a new item). Normally it should edit same item.
so: OldState isn't needed: it should never reinsert new item.
Stack:
TCustomTreeView.CNNotify ... TVN_SELCHANGEDA, TVN_SELCHANGEDW: ... Change
TJvCustomDBTreeView.Change ::
 case OldState of
      dsEdit:
        FDataLink.DataSet.Edit;
      dsInsert:
        FDataLink.DataSet.Insert; /// Edit
    end;
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0021549)
obones (administrator)
2018-07-18 16:05

Could you check if the issue is still present in the latest GIT content? If yes, please provide the zipped sources of an application showing this.
(0021760)
mh (reporter)
2019-04-27 14:00

I found the code snippet referenced above but it looks exactly like above. Question: what exactly shall be changed there? Shall in dsInsert also the Edit method be called? Or is the code as is already fixed?

- Issue History
Date Modified Username Field Change
2018-06-25 10:10 tstoicescu New Issue
2018-07-18 16:05 obones Note Added: 0021549
2018-07-18 16:05 obones Status new => feedback
2019-04-27 14:00 mh Note Added: 0021760


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker