Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EA24618927 for ; Mon, 8 Jun 2015 15:03:05 +0000 (UTC) Received: (qmail 36457 invoked by uid 500); 8 Jun 2015 15:03:04 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 36398 invoked by uid 500); 8 Jun 2015 15:03:04 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 36377 invoked by uid 99); 8 Jun 2015 15:03:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jun 2015 15:03:04 +0000 Date: Mon, 8 Jun 2015 15:03:04 +0000 (UTC) From: "Shawn Heisey (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SOLR-7588) naturalSort.js is provided as coffeescript instead of plain javascript MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-7588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577303#comment-14577303 ] Shawn Heisey commented on SOLR-7588: ------------------------------------ Looks like this one is my fault - SOLR-7409. Thanks for the patch, I will get it committed as soon as I can. > naturalSort.js is provided as coffeescript instead of plain javascript > ---------------------------------------------------------------------- > > Key: SOLR-7588 > URL: https://issues.apache.org/jira/browse/SOLR-7588 > Project: Solr > Issue Type: Bug > Components: web gui > Affects Versions: Trunk, 5.2 > Environment: Fedora 21 > openjdk version "1.8.0_45" > OpenJDK Runtime Environment (build 1.8.0_45-b14) > OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode) > Reporter: Derek Wood > Attachments: SOLR-7588.patch > > > The Dataimport tab of a core will hang with a loading screen or display the previously accessed tab instead of showing the expected dataimport screen. > The console in Chrome has the following error log, but it's obvious to me that it's trying to run un-transpiled coffeescript: > {noformat} > naturalSort.js?_=6.0.0:30 Uncaught SyntaxError: Unexpected token ILLEGAL > jquery.sammy.js?_=6.0.0:120 [Fri May 22 2015 23:36:59 GMT-0700 (MST)] runRoute get #/db/dataimport > dataimport.js?_=6.0.0:48 Uncaught ReferenceError: naturalSort is not defined > {noformat} > The file in question can be viewed here: https://svn.apache.org/viewvc/lucene/dev/trunk/solr/webapp/web/js/lib/naturalSort.js?view=markup > I was able to verify this in my own build as well as the nightly builds hosted on the Apache Jenkins server with the default DIH example ({{bin/solr start -e dih}}). > After replacing the coffeescript file with one transpiled to javascript (available at https://github.com/jarinudom/naturalSort.js/blob/master/dist/naturalSort.js), the dataimport tab worked as expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org