Product/@Name and Product/@Manufacturer values with only whitespace should
be treated by Candle in the same way as null or empty attributes.
Repro Steps:
1. Author a package with this Product element.
<Product Id="*" Name=" " Language="1033" Version="0.0.0.0" Manufacturer=" "
UpgradeCode="{B6321235-E6E2-47ed-AB00-5DC6E85AECDF}">
Product/@Name contains tabs, Product/@Manufacturer contains a space.
2. Compile and Link
Expected: Compile error similar to
c:\product.wxs(3) : error CNDL0006 : The Product/@Name attribute's value
cannot be an empty string. If you want the value to be null or empty,
simply remove the entire attribute.
c:\product.wxs(3) : error CNDL0006 : The Product/@Manufacturer attribute's
value cannot be an empty string. If you want the value to be null or empty,
simply remove the entire attribute.:
Actual: The _SummaryInformation.idt file is created with null values for
Name and Manufacturer. See the attached file - properties 3 and 4. This
results in a Light error when importing the .idt:
C:\Users\jordanf\AppData\Local\Temp\dbl9tuiw\_SummaryInformation.idt :
error LGHT0136 : There was an error importing table '_SummaryInformation'
from this file.
pmarcu
candle
v3.5
Public
|
Date: 2009-11-20 02:20 This Tracker item was closed automatically by the system. It was |
|
Date: 2009-11-04 23:11 This works for me. Here are the actual results: |
| Filename | Description | Download |
|---|---|---|
| _SummaryInformation.idt | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| close_date | 2009-11-04 23:11 | 2009-11-20 02:20 | sf-robot |
| status_id | Pending | 2009-11-20 02:20 | sf-robot |
| allow_comments | 1 | 2009-11-20 02:20 | sf-robot |
| resolution_id | None | 2009-11-04 23:11 | pmarcu |
| status_id | Open | 2009-11-04 23:11 | pmarcu |
| close_date | - | 2009-11-04 23:11 | pmarcu |
| assigned_to | micarls | 2009-10-23 08:27 | robmen |
| assigned_to | nobody | 2009-08-28 00:20 | candyc |
| File Added | 339132: _SummaryInformation.idt | 2009-08-14 03:01 | candyc |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use