Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-pmc] Petitioning for fix of BZ 190755 - Cannot auto-connect CP after modification

The actual issue here relates to how the connect behavior relates to
changes made in the properties dialog for the profile.  Because the pages
are processed in order, it is possible that a connect attempt is made
before all pages have been processed.  The reported case has the profile
connecting (in response to auto-connect being enabled) prior to the
application of connection property changes.

The solution is to block connection attempts until after the dialog closes.
This guarantees that all changes made by the user have been applied to the
profile prior to the connection attempt.  This is accomplished using
scheduling rules associated with the profile, which are used by the
connect/disconnect jobs.  IJobManager.beginRule() is invoked from the
property page's performOK() method and IJobManager.endRule() is invoked
from the property page's dispose() method.

A patch is attached to the BZ entry for review.

Regards,
Rob



Back to the top