IIS Extension: CacheControlMaxAge, error on value which produces msi NULL column value #8946
bevanweiss
started this conversation in
WiX Development
Replies: 1 comment
-
I agree. Option 1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working up some test cases for the IIS Extension, as I look to deal with a few of the backlog issues.
One issue that I've come across with the existing codebase.
The CacheControlMaxAge is configured as a 32bit unsigned value in the C# frontend, and the C++ backend... however inbetween it needs to pass through the MSI database. This results in the possibility that an author puts in an unsigned '2147483648' (0x80000000) value for this attribute, which then results in the MSI column holding a NULL value.
An example as below which ends up failing because of the NULL.
My thoughts are:
My thought is that the first option is the right one, but with the annoyance that it might break some currently 'invalid' authoring out in the wild.
Any opinions around this one? (is there another option that I'm missing?)
Beta Was this translation helpful? Give feedback.
All reactions