You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] - Column names past IV resolve to column A #1065
CellReferenceConverter.GetNumericalIndex only looks the name up in the cached map, which is preloaded up to column IV (index 255). Any name past that returns 0 unless something earlier in the process happened to request that column, so [MiniExcelColumnIndex("IW")] and [MiniExcelColumn(IndexName = "IW")] resolve to column A.
Wide is written to column IW. GetNumericalIndex("IW") returns 256, "XFD" returns 16383.
Actual Behavior
In a fresh process the export throws InvalidMappingException: Duplicate column index in type Row: 0. Without the A property it is written to column A. GetNumericalIndex("IW"), "AAA" and "XFD" all return 0.
Querying a sheet usually hides it, because reading a wide row fills the cache before the attributes are resolved. The same lookup is used for template ranges and ColumnMappingsProvider.
Workarounds
Use the numeric constructor, [MiniExcelColumnIndex(256)].
Activity