Ticket #131 (new defect)

Opened 11 years ago

Last modified 11 years ago

Invalid number of active records after deletion

Reported by: heitor.barbieri Owned by: somebody
Priority: major Milestone:
Component: engine Version:
Keywords: Cc:
Estimated Hours: 0.0 Add Hours to Ticket: 0
Total Hours: 0

Description

See example:

In [1]: mf = MasterFile?("one.mst")

In [2]: rec = MasterRecord?()

In [3]: rec300? = "XXXX"

In [4]: rec.save(mf)

In [5]: print rec


MFN: 1
300:XXXX

In [6]: del mf

In [7]: mf = MasterFile?("one.mst")

In [8]: print(len(mf))
1

In [9]: mf.delete(1)

In [10]: print(len(mf))
0

In [11]: del mf

In [12]: mf = MasterFile?("one.mst")

In [13]: print(len(mf))
1

In [14]:

Attachments

Change History

Changed 11 years ago by heitor.barbieri

Add/Change #131 (Invalid number of active records after deletion)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.