lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Hahn (JIRA)" <>
Subject [jira] [Created] (SOLR-4072) Error message is incorrect for linkconfig in ZkCLI
Date Wed, 14 Nov 2012 00:36:12 GMT
Adam Hahn created SOLR-4072:

             Summary: Error message is incorrect for linkconfig in ZkCLI
                 Key: SOLR-4072
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.0
            Reporter: Adam Hahn
            Priority: Trivial

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);

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message