Michael Braun created SOLR-10386:
------------------------------------

             Summary: Analysis page breaks on anonymous inner class TokenFilter 
name
                 Key: SOLR-10386
                 URL: https://issues.apache.org/jira/browse/SOLR-10386
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: Admin UI
    Affects Versions: 6.2.1
            Reporter: Michael Braun
            Priority: Minor


analysis.js has a function getShortComponentName which attempts to find the 
short name given a full class name. However, this does not work and gets a null 
internally when the class looks something like this, as in an anonymous inner 
class:

com.company.solr.stuff.MyTokenFilterFactory$1

{code}
TypeError: Cannot read property 'join' of null
  at getShortComponentName (analysis.js:50)
  at extractComponents (analysis.js:96)
  at processAnalysisData (analysis.js:109)
  at analysis.js:172
  at angular-resource.min.js:33
  at processQueue (angular.js:13193)
  at angular.js: 13209
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to