reddog-io / RedDog.Search.Portal

Sample management portal for Microsoft Azure Search which allows you to manage your indexes, import data and execute queries. Built with RedDog.Search, Autofac, AngularJS, ASP.NET Web API.
Apache License 2.0
13 stars 13 forks source link

Dropping a csv doesn't seem to work #2

Closed davidebbo closed 10 years ago

davidebbo commented 10 years ago

Not sure what I'm doing wrong, but I'm not able to drop a little test csv. The frame becomes blue as I drag over it, but as I release, nothing happens. Using latest Chrome.

davidebbo commented 10 years ago

Problem is that it's making a request to /api/import/indexname instead of /search-portal/api/import/indexname. It's a common issue when running an app that was develop to run at / root into a sub-app root like /search-portal.

sandrinodimattia commented 10 years ago

Bug in the client side code. Instead of referencing api/import/indexname it was pointing to /api/import/indexname. The import process will now show if the import succeeded or not. In case of a failure, the error message explains which column is not correct.

sandrinodimattia commented 10 years ago

Fix also available in version 1.2.1 of the Site Extension.

davidebbo commented 10 years ago

Verified.