You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2017/08/23 08:37:00 UTC

[jira] [Resolved] (OAK-6573) The --src-external-ds option does not mandate argument but reads it later

     [ https://issues.apache.org/jira/browse/OAK-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomek Rękawek resolved OAK-6573.
--------------------------------
    Resolution: Fixed

> The --src-external-ds option does not mandate argument but reads it later
> -------------------------------------------------------------------------
>
>                 Key: OAK-6573
>                 URL: https://issues.apache.org/jira/browse/OAK-6573
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>    Affects Versions: 1.6.0
>            Reporter: Arek Kita
>            Assignee: Tomek Rękawek
>            Priority: Minor
>             Fix For: 1.8, 1.7.7
>
>
> It seems that in [OptionParserFactory|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/cli/parser/OptionParserFactory.java#L125] the option *{{\--src-external-ds}}* does not require an argument but on the other hand that argument is expected to be present later in [MigrationOptions|https://github.com/apache/jackrabbit-oak/blob/trunk/oak-upgrade/src/main/java/org/apache/jackrabbit/oak/upgrade/cli/parser/MigrationOptions.java#L155-L160]
> This is inconsistent and IMHO it should be fixed especially for parsers that are created based on {{OptionParserFactory}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)