History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: COR-1117
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Carl Rosenberger
Reporter: Vidyadhar Nirantar
Votes: 2
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
db4o Core

Callback API gets reference of a new ObjectContainer

Created: 24/Jan/08 02:05 PM   Updated: 06/Feb/08 11:51 AM
Component/s: Client/Server
Affects Version/s: 6.4.6
Fix Version/s: 7.1.29, 6.4.29

Time Tracking:
Original Estimate: Not Specified
Remaining Estimate: 0h
Time Spent - 2h
Time Spent: 2h
Time Spent - 2h

File Attachments: 1. Java Source File Db4oTest.java (2 kb)
2. Java Source File Test.java (0.8 kb)

Environment: Java, c/s

Peers: Richard Liang
Order: 3
Iteration: 29
Original IDS Estimate: 1
Resolution Date: 06/Feb/08 11:51 AM
First Response Date: 24/Jan/08 02:14 PM
PSC Recommendation: B1
Labels:
Participants: Carl Rosenberger, Kasper Fock, Rodrigo B. de Oliveira and Vidyadhar Nirantar
Number of Attachments: 2
Number of Comments: 4


 Description  « Hide

Reported in case 1355: https://na2.salesforce.com/500400000042T0o

In db4o 6.3 and earlier, callback methods are passed reference of the original calling ObjectContainter.

However, in db4o 6.4 and 7.0, a new instance of Object Container is passed to the callback metod.


-vdhar



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Vidyadhar Nirantar - 24/Jan/08 02:07 PM

Test case is attached.

Rodrigo B. de Oliveira - 24/Jan/08 02:14 PM
Maybe the callbacks are being triggered more than once (on the client and then on the server again).

Kasper Fock - 24/Jan/08 04:24 PM
Output of test case shows only one log entry from the callback method so i don't think the callbacks are called multiple times

Dbversion db4o 7.0.21.8746
Setting object container onNew testing.yap
obj container com.db4o.internal.EmbeddedClientObjectContainer@128f6ee
New class stored according to internal objectContainer ? false
New class stored according to caling objectContainer ? true
 test count 1
using object container (save) testing.yap false
Setting object container onNew testing.yap
 test count 2


Vidyadhar Nirantar - 28/Jan/08 11:13 AM

Rodrigo, Kasper,

The customer is asking for a fix. He has used this feature extensively and it has worked very well for him. He may have to redeisgn his application if it does not work and thats lot of trouble.

Can I know whether this is going to be fixed, and if yes, by when, so that I can convey the date to the customer.



thanks,
-Vidyadhar