[jboss-jira] [JBoss JIRA] (DROOLS-1683) ExcelParse can re-write files
Mario Fusco (JIRA)
issues at jboss.org
Fri Jul 28 12:47:00 EDT 2017
[ https://issues.jboss.org/browse/DROOLS-1683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco updated DROOLS-1683:
--------------------------------
Sprint: 2017 Week 30-31
> ExcelParse can re-write files
> -----------------------------
>
> Key: DROOLS-1683
> URL: https://issues.jboss.org/browse/DROOLS-1683
> Project: Drools
> Issue Type: Bug
> Components: decision tables
> Affects Versions: 7.0.0.Final
> Reporter: James Livingston
> Assignee: Mario Fusco
>
> ExcelParser.open(File) uses the single argument WorkbookFactory.create() call, which opens the file in read-write mode, so when parseWorkbook() calls close on it, it will save the workbook to disk.
> Usually the resulting file is the same, however it may be binary-different but equivalent(causing git conflicts). Being read-only does not cause an error since the exceptions are swallowed silently.
> It should use the three argument form of WorkbookFactory.create() and pass the read-only flag
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list