OWLNext_Stable_Releases
TRegistry::Validate tries to create subkey.
Fixed in trunk ([r8779]), branch 7.0 ([r8780]) and branch 6.44 ([r8781]).
Merged [r8779] from trunk:
Merged [r8779] from trunk:
BUG: TRegistry::Validate tries to create subkey ([bugs:#641]).
The next problem is that if the subkey does not exist, trying to open it will still throw exception. Maybe Validate should check for this exception, and just increase and return the difference count. Note that if this is called from TAppDescriptor::RegisterServer, it will fail later anyway when trying to update the registry. But here may be other use cases for TRegistry::Validate, so it should not throw.
The next problem is that if the subkey does not exist, trying to open it will still throw exception. Maybe Validate should check for this exception, and just increase difference count