[v0.4] Loading forever in list screen without default columns
See original GitHub issueExpected behavior
Items list should load when navigating to http://localhost:3000/keystone/list?columns=id%2Cfile
. This happens with all field types I tested (LocalFile, String, Select).
Actual behavior
A loading screen is shown forever. The following error gets logged to the console: TypeError: this.props.data.fields is undefined
Steps to reproduce the behavior
Create a list without default columns. Open its items list screen. Select any field from the columns chooser and hit apply. Refresh the page. This last step is important, the bug does only manifest if the page is reloaded.
Error is thrown on this line: https://github.com/keystonejs/keystone/blob/master/fields/types/localfile/LocalFileColumn.js#L5 (For LocalFile, other field types have an equivalent line) Probably it’s another bootstrapping issue.
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (8 by maintainers)
Top Results From Across the Web
Solved: Loading Screen for users while my form fetches dat...
I have a display form(splist) in my app and one column of that form has some kind of logic in Items property which...
Read more >How to hide column in AG-Grid? - Stack Overflow
If you are looking for dynamically show/hide columns follow below: You can use either setColumnVisible or setColumnsVisible .
Read more >Rendering a list of Vue components - Learn web development
In this article we'll look at adding a set of todo item data to our App.vue component, which we'll then loop through and...
Read more >Visualization: Column Chart - Google Developers
A column chart is a vertical bar chart rendered in the browser using SVG or VML, whichever is appropriate for the user's browser....
Read more >The List Component - React-admin - Marmelab
Default layout components ( <Datagrid> and <SimpleList> ) return null when the data is loading. If you use a custom layout component instead,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This can now be demonstrated in current master by running the following command, with XXXX replaced with this issue number.
node test/e2e/server.js --env default --config ./test/e2e/adminUI/nightwatch.json --test test/e2e/adminUI/tests/group999FixMe/XXXX.js
When this issue is fixed, please move
XXXX.js
to.../group007Misc/somethingSensible.js
, and also change'demonstrate issue XXXX': function(browser)
in this file to something more sensible. If you can see a way to make these tests more generic, or add additional testing, then please go ahead.This seems to be re-occurring in current master, and is breaking travis (see here).
I’ve moved the test back into FixMe, and am going to re-open this issue, as I don’t have time to look into this now, and it’d be nice to get travis passing again.
@geloescht @JedWatson Any ideas?