You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2014/02/06 04:10:12 UTC

[jira] [Assigned] (SOLR-4072) Error message is incorrect for linkconfig in ZkCLI

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

Mark Miller reassigned SOLR-4072:
---------------------------------

    Assignee: Mark Miller

> Error message is incorrect for linkconfig in ZkCLI
> --------------------------------------------------
>
>                 Key: SOLR-4072
>                 URL: https://issues.apache.org/jira/browse/SOLR-4072
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Adam Hahn
>            Assignee: Mark Miller
>            Priority: Trivial
>             Fix For: 5.0, 4.7
>
>         Attachments: SOLR-4072.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> If you don't include both the collection and confname when doing a linkconfig, it shows you an incorrect error message stating that the CONFDIR is required for linkconfig.  That should be changed to COLLECTION.  The incorrect code is below.
> else if (line.getOptionValue(CMD).equals(LINKCONFIG)) {
>           if (!line.hasOption(COLLECTION) || !line.hasOption(CONFNAME)) {
>             System.out.println("-" + {color:red} CONFDIR {color} + " and -" + CONFNAME
>                 + " are required for " + LINKCONFIG);
>             System.exit(1);
>           }



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org