[jboss-jira] [JBoss JIRA] (DROOLS-684) Drools Work bench not allowing in .XLSX to upload

Geoffrey De Smet (JIRA) issues at jboss.org
Mon Aug 10 03:49:04 EDT 2015


    [ https://issues.jboss.org/browse/DROOLS-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096789#comment-13096789 ] 

Geoffrey De Smet commented on DROOLS-684:
-----------------------------------------

<ge0ffrey> etirelli: hi, don't we already support xlsx for decision 
tables?
<etirelli> ge0ffrey: I don't remember...  I know default is xls
<etirelli> mfusco: do you know? ^^
<mfusco> ge0ffrey, etirelli: I don't think so
<mfusco>     public static final ResourceType DTABLE = 
addResourceTypeToRegistry("DTABLE",
<mfusco> "Decision Table",
<mfusco> "src/main/resources",
<mfusco> "xls", "csv");
<ge0ffrey> etirelli: even if we don't, it's trivial to add, because we 
use poi and poi's classes are abstracted away from xls and xlsx easily 
(there's a common interface set)
<mfusco> etirelli, ge0ffrey: but I am pretty sure apache-poi should be 
already parse xlsx
<ge0ffrey> mfusco: it does, I use it in the optaplanner example 
investment portfolio
<mfusco> so yes, it should be easy to add it
<mfusco> ge0ffrey: I thought so
<mfusco> ge0ffrey: ok, so I think I could easily add support for xlsx 
format
<mfusco> ge0ffrey: can you please open a jira for me?
<ge0ffrey> Workbook workbook = new XSSFWorkbook(in);
<ge0ffrey> XSSFSheet implements Sheet
<mfusco> ge0ffrey: and possibly attach there a xlsx file that I could try?
<ge0ffrey> mfusco: Osamu-san asked this on this feedback list, I' ll 
ask him to submit a jira - https://mojo.redhat.com/docs/DOC-1040132

> Drools Work bench not allowing in .XLSX to upload
> -------------------------------------------------
>
>                 Key: DROOLS-684
>                 URL: https://issues.jboss.org/browse/DROOLS-684
>             Project: Drools
>          Issue Type: Bug
>    Affects Versions: 6.2.0.CR4
>         Environment: Google Chrome Browser / JDK1.7 / Jboss7.1 / WB-6.2.0-CR4
>            Reporter: Ramesh C
>            Assignee: Michael Anstis
>         Attachments: Sample.xlsx
>
>
> while creating a decision table in workbench, if we try to upload .XLSX,
> java script validation is failing. Alert is showing as "Upload only .xls" files.
> kindly correct the java script validation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list