elastic / sense

A JSON aware developer's interface to Elasticsearch. Comes with handy machinery such as syntax highlighting, autocomplete, formatting and code folding.
Other
381 stars 134 forks source link

Sense breaks on HEAD verb #76

Open eskibars opened 8 years ago

eskibars commented 8 years ago
# add a document
PUT /website/blog/123
{
  "title": "hello there"
}

# get to make sure it's in... it is!
GET /website/blog/123

# break Sense :)
HEAD /website/blog/123

Spits out

Error: Uncaught TypeError: Cannot read property 'promise' of undefined (http://localhost:5601/bundles/sense.bundle.js:23015)
at window.onerror (http://localhost:5601/bundles/commons.bundle.js:57730:25)
bleskes commented 8 years ago

I can confirm this is broken. We will look at it as soon as we can...

Mpdreamz commented 8 years ago

+1, just hit this during training :smile:

leonkaihao commented 8 years ago

What's this problem going on?