[ https://issues.apache.org/jira/browse/OAK-6573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Rękawek updated OAK-6573: ------------------------------- Fix Version/s: 1.7.7 > 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)