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 "Thomas Mueller (JIRA)" <ji...@apache.org> on 2018/11/29 14:25:01 UTC
[jira] [Comment Edited] (OAK-7925) OakUpgrade for RDBMK: user name
and password must match
[ https://issues.apache.org/jira/browse/OAK-7925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703235#comment-16703235 ]
Thomas Mueller edited comment on OAK-7925 at 11/29/18 2:24 PM:
---------------------------------------------------------------
Instead of
{noformat}
asList("--user=abc", "--password=abc"),"
{noformat}
it is probably better to use
{noformat}
asList("--user=unused", "--password=unused")
{noformat}
as this test doesn't use the user name and password at all (this combination is not supported, so there is no login).
was (Author: tmueller):
Instead of "asList("--user=abc", "--password=abc"),", it is probably better to use asList("--user=unused", "--password=unused"),
as this test doesn't use the user name and password at all (this combination is not supported, so there is no login).
> OakUpgrade for RDBMK: user name and password must match
> -------------------------------------------------------
>
> Key: OAK-7925
> URL: https://issues.apache.org/jira/browse/OAK-7925
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: upgrade
> Affects Versions: 1.0.39, 1.0.42, 1.2.30, 1.4.23, 1.6.15, 1.8.9
> Reporter: Thomas Mueller
> Priority: Major
>
> The oak-upgrade MigrationOptions class has a very ugly bug:
> {noformat}
> this.srcUser = args.getOption(OptionParserFactory.SRC_USER);
> this.srcPassword = args.getOption(OptionParserFactory.SRC_USER);
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)