Thomas Corthals created SOLR-15895:
--------------------------------------

             Summary: Managed Resources with invalid filename characters on 
Windows
                 Key: SOLR-15895
                 URL: https://issues.apache.org/jira/browse/SOLR-15895
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Schema and Analysis
    Affects Versions: 8.11
         Environment: Windows 10 Enterprise, version 20H2, build 19042.867, 
Windows Feature Experience Pack 120.2212.551.0
 
Solr 8.11.1

{code:bash}
solr start -e techproducts
{code}
            Reporter: Thomas Corthals


It's possible to create a Managed Resource with characters in its name that are 
invalid in a filename on Windows. The created file has its name truncated at 
the first invalid character and remains empty (0 bytes). While it is possible 
to add stopwords/synonyms to the list/map, they don't actually get written to 
disk. Solr only throws an error when you try to delete the list/map.

{code:json}
"msg":"Illegal char <:> at index 91: 
C:\\solr-8.11.1\\example\\techproducts\\solr\\techproducts\\conf\\_schema_analysis_stopwords_test
 : list.json"
{code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to