question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v0.4] Loading forever in list screen without default columns

See original GitHub issue

Expected 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 keystone

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:closed
  • Created 7 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
jstockwincommented, May 26, 2016

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.

1reaction
jstockwincommented, Jun 11, 2016

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found