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 "Arek Kita (JIRA)" <ji...@apache.org> on 2017/08/23 08:23:00 UTC

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

Arek Kita created OAK-6573:
------------------------------

             Summary: 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
            Reporter: Arek Kita
            Priority: Minor


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)