You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/03 10:31:00 UTC
[jira] [Commented] (SOLR-16054) Environment banner not working if environment is not dev or prod
[ https://issues.apache.org/jira/browse/SOLR-16054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500637#comment-17500637 ]
ASF subversion and git services commented on SOLR-16054:
--------------------------------------------------------
Commit 0cf21d2fe5762517821cd29d649a0584b75c5b1b in solr's branch refs/heads/main from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=0cf21d2 ]
SOLR-16054: Better documentation of solr.environment property (#701)
> Environment banner not working if environment is not dev or prod
> ----------------------------------------------------------------
>
> Key: SOLR-16054
> URL: https://issues.apache.org/jira/browse/SOLR-16054
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: 8.11.1
> Reporter: Gaël Jourdan
> Assignee: Jan Høydahl
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> When using the new system property to display a environment banner in Solr UI, I cannot make it work.
>
> First attempt with `-Dsolr.environment=unknown,color=red` gives the following error message on the UI: "Bad environment pattern: unknown,color=red".
>
> Second attempt with just `-Dsolr.environment=unknown` gives no error but no banner appear nowhere.
>
> Third attempt using "dev" or "prod" do work. Thus I'm guessing there is a list of allowed values?
> I believe any value should be accepted as orgs can have various name for their environment, especially with ephemeral environment.
> Or at least the documentation should mention the list of allowed values.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org