Comments (4)
To add to the original post, this doesn't seem to reproduce unless I fairly quickly type something else into the search bar which appears to result in a different console error:
Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.boundList[0].firstNode')
from ember-api-docs.
What are you trying to search for when you type “all”? This may help with narrowing down the issue, if there’s some specific method in the docs that is the problem.
from ember-api-docs.
Hey @jenweber, I think that I might have been looking for alias
or something like that, but it has been a few days so I don't totally remember.
I stepped through the error a bit and I think that first one is happening because the entry associated with "node_modules/rsvp/lib/rsvp/promise/all.js" does not have a top level module
property:
...
{
"file": "node_modules/rsvp/lib/rsvp/promise/all.js",
"line": 3,
"class": "Promise",
"name": "all",
"static": 1,
"_tags": ["module:undefined", "version:4.8.0"],
"hierarchy": { "lvl1": "Promise", "lvl2": "all" },
"objectID": "969593002",
"_highlightResult": {
"name": {
"value": "<em>all</em>",
"matchLevel": "full",
"fullyHighlighted": true,
"matchedWords": ["all"]
},
"hierarchy": {
"lvl1": {
"value": "Promise",
"matchLevel": "none",
"matchedWords": []
},
"lvl2": {
"value": "<em>all</em>",
"matchLevel": "full",
"fullyHighlighted": true,
"matchedWords": ["all"]
}
}
}
...
This causes an error on line 16 in app/components/search-input/dropdown-result.js
where it tries to unpack that value as: let module = this.get('result.module');
.
from ember-api-docs.
It looks like we get the same behavior any time that we search for all
, race
, reject
, or resolve
and that the entries breaking it are the ones scoped to the Promise
class from the RSVP project.
We probably need to update the docs in some way so that these entries end up getting scoped to the right module rather than being undefined.
Alternatively/Additionally, maybe we could update this DropdownResult component to drop those results which don't have the expected structure?
Do you have any thoughts, @jenweber?
from ember-api-docs.
Related Issues (20)
- 404 / missing EmberData API docs of old releases HOT 9
- Ember Data Store.query() => link to "Collection" results in 404 page HOT 1
- Missing string-docu referred to
- Blank page error after ember 3.28 update HOT 1
- EmberObject API page redirects to 404 when on ember versions 3.12 or below HOT 2
- Netlify bug - Wrong 301 redirect for percent encoded URLs HOT 1
- Fix edit button styling
- Stale search results when switching versions
- Side menu styling
- Adjust data and UX to account for differing ember-data versions
- Make the codeblocks work for the website redesign HOT 1
- logo isn't working in the header in the redesign HOT 2
- Start using "wide mode" in the redesign branch HOT 1
- use the new anchor functionality in the redesign HOT 1
- Remove logic for collapsable menu items
- Implement 404 HOT 1
- Tab interface doesn't have any tab highlighted on the new prember site
- ember-data 3.28 links aren't working HOT 2
- 5.3 is missing search
- ember-api-docs can not currently be run locally against ember-source or ember-data HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-api-docs.