Opened 17 years ago

Closed 17 years ago

#5 closed defect (fixed)

gifts in return values do not stall response delivery correctly

Reported by: Brian Warner Owned by: Brian Warner
Priority: major Milestone: 0.1.5
Component: introduction Version: 0.1.4
Keywords: Cc:

Description

When including a gift (third-party reference) in the arguments to a remote method call, the message must be stalled until the gift resolves (meaning either the getReference completes or it fails).

But we need the same stall on the return side: if a remote method call returns a third-party reference in the return value, the original callRemote's Deferred must not be fired until those gifts resolve. Otherwise the original caller will get a placeholder instead of the reference they were expecting.

Change History (2)

comment:1 Changed 17 years ago by Brian Warner

Fixed in [f2ebd8abb21af6ede7f36542137c2c288083a649].

Although it would be nice to have a test that makes sure that unresolveable gifts in return values are reported correctly too..

comment:2 Changed 17 years ago by Brian Warner

Resolution: fixed
Status: newclosed

Added that test too, in [c385739f2b13a2b9ab0ed39bbcc303ee12b7cfa9]. Now closing this one out.

Note: See TracTickets for help on using tickets.