Bug 294861 - IManagedOptionValueHandler.handleValue doesn't get EVENT_APPLY when OK button is pressed
Summary: IManagedOptionValueHandler.handleValue doesn't get EVENT_APPLY when OK button...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 0 DD 1.1   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-11 06:42 EST by Jon Beniston CLA
Modified: 2020-09-04 15:18 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Beniston CLA 2009-11-11 06:42:51 EST
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.4; OfficeLivePatch.1.3)
Build Identifier: M20090917-0800

I have a class that implementes IManagedOptionValueHandler.handleValue. It doesn't seem to be getting an EVENT_APPLY event when the OK button is pressed if the value of the option in the GUI hasn't been changed. 

This means that you can't have different values presented in the UI as to what is used in the backend. E.g. if you modify the value for display when the EVENT_OPEN is received, you need an EVENT_APPLY to convert it back to the backend representation, even if the user hasn't changed the value in the GUI.


Reproducible: Always