[
https://issues.apache.org/jira/browse/SLIDER-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751810#comment-15751810
]
Billie Rinaldi commented on SLIDER-1179:
----------------------------------------
It might be that app packages do not need to contain metainfo, and this is why
metainfo is allowed to be null. Are you running into the case where a
nonexistent path is provided, or a path is provided to something that is not an
app package? Before getMetainfo is called, we could check fs.isFile for the
appDef, and if the path doesn't exist throw a BadConfigException. That would
not help in the case where the path provided is not an app package, though.
> app-package path should be verified when running “slider upgrade”
> ------------------------------------------------------------------
>
> Key: SLIDER-1179
> URL: https://issues.apache.org/jira/browse/SLIDER-1179
> Project: Slider
> Issue Type: Improvement
> Reporter: kyungwan nam
> Attachments: SLIDER-1179.002_develop.patch, SLIDER-1179.patch
>
>
> slider app is failed when running “slider upgrade” with appConfig including
> invalid “application.def”
> i think it should be verified in advance.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)