Problem Note 67498: A spreadsheet might fail to export when you are trying to validate ranges
In SAS® Risk Governance Framework, a spreadsheet export fails when you try to validate ranges.
This issue is seen when the spreadsheet contains more than one tab, and two or more of those tabs have a drop-down cell with the same column ID.
Specifically, the issue is in the ExportDataUtil.java file in the rangeCellsValidation2 function. For example, the validation cell is named in this way:
String namedConstraint = "hidden_" + colKey + rowStr;
However, there needs to be something in the syntax construction of this string that specifically relates to the tab in which the cell is being validated. An example follows:
Integer sheetIndex = wb.getWorkbook().getSheetIndex(ws.getPoiSheet().getSheetName())
String namedConstraint = "hidden_" + sheetIndex + colKey + rowStr;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Risk Governance Framework | Microsoft® Windows® for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Pro 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8 Pro x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows 8.1 Pro 32-bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 R2 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2008 for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Datacenter | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 R2 Std | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2012 Std | 7.4 | 7.4 | | 9.4 TS1M5 |
Microsoft Windows Server 2016 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Enterprise 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Enterprise x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Home Premium 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Home Premium x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Professional 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Professional x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Ultimate 32 bit | 7.4 | 7.4 | | 9.4 TS1M5 |
Windows 7 Ultimate x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
Linux for x64 | 7.4 | 7.4 | | 9.4 TS1M5 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2021-03-10 16:10:04 |
Date Created: | 2021-02-25 08:33:40 |