talhatima / flexlib

Automatically exported from code.google.com/p/flexlib
1 stars 0 forks source link

CSSPropertyInjector doesn't protect against exceptions #334

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  Apply an aggregate injection on a property that doesn't exist
2. The aggregate binding of the sub csspropinjector onto the new class will 
throw an error and all other properties will be skipped

What is the expected output? What do you see instead?
No, it should instead keep going with the other values (print out an error?)

What version of the product are you using? On what operating system?
3.5

Please provide any additional information below.
Fix is to wrap the function assignStylesToTarget with a try block, in the for 
loop over
__aggregateStyles

Original issue reported on code.google.com by chrisnoj...@gmail.com on 1 Oct 2010 at 9:23