[jboss-jira] [JBoss JIRA] (WFCORE-3208) Saving an attachement should create the specified path if it doesn't exist

Jean-Francois Denise (JIRA) issues at jboss.org
Mon Aug 28 11:37:00 EDT 2017


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

Jean-Francois Denise commented on WFCORE-3208:
----------------------------------------------

Perhaps not that common to create directories. You could add a new option --create-dirs (only enabled for save action)
If option in use, then directory created.
If no option is used, then exception with a clear message that the directory doesn't exist.
Documentation should state this behaviour.
Thanks.

> Saving an attachement should create the specified path if it doesn't exist
> --------------------------------------------------------------------------
>
>                 Key: WFCORE-3208
>                 URL: https://issues.jboss.org/browse/WFCORE-3208
>             Project: WildFly Core
>          Issue Type: Enhancement
>          Components: CLI
>    Affects Versions: 3.0.0.Final
>            Reporter: ehsavoie Hugonnet
>            Assignee: ehsavoie Hugonnet
>            Priority: Minor
>
> When saving an attachment to a path, if the path doesn't exist then the operation will fail. I think we should create the intermediate directories.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list