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.

Admin broken on master

See original GitHub issue

I get this on master:

Uncaught (in promise) TypeError: Cannot read property 'props' of undefined
    at Object.isActive (http://localhost:5000/admin/static/gen/app.js:9182:27)
    at http://localhost:5000/admin/static/gen/app.js:9241:29
    at Array.map (native)
    at Object.render (http://localhost:5000/admin/static/gen/app.js:9232:44)
    at http://localhost:5000/admin/static/gen/vendor.js:16301:22
    at measureLifeCyclePerf (http://localhost:5000/admin/static/gen/vendor.js:15581:13)
    at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (http://localhost:5000/admin/static/gen/vendor.js:16300:26)
    at ReactCompositeComponentWrapper._renderValidatedComponent (http://localhost:5000/admin/static/gen/vendor.js:16327:33)
    at ReactCompositeComponentWrapper.performInitialMount (http://localhost:5000/admin/static/gen/vendor.js:15867:31)
    at ReactCompositeComponentWrapper.mountComponent (http://localhost:5000/admin/static/gen/vendor.js:15763:22)

Oddly enough the generated code seems completely wrong:

	  isActive: function isActive(field) {
	    var value = undefined.props.value;
	    if (value == null) {
	      value = undefined.props.placeholder;
	      if (value == null) {
	        return false;
	      }
	    }

Not sure why this is undefined.props; the source says this.props.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:19 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
torian257xcommented, Aug 24, 2017

see here to reproduce error

https://github.com/Jossnaz/lektor_bug390

0reactions
nixjdmcommented, Sep 5, 2017

Fixed in #427

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exiting admin panel broken in master · Issue #7868 - GitHub
Steps to repro: · Click Admin Panel from the menu · Click Exit Admin from the menu.
Read more >
[keycloak-dev] Admin console broken on master?
[keycloak-dev] Admin console broken on master? Marek Posolda mposolda at redhat.com. Fri Nov 25 06:43:53 EST 2016. Previous message: [keycloak-dev] Admin ...
Read more >
Broken master in spec/features/admin/admin_mode ... - GitLab
Broken master in spec/features/admin/admin_mode/workers_spec.rb:40 / Admin mode for workers as an admin user when admin mode enabled can ...
Read more >
Post 5.0.3 Issues persist — form dead and Admin broken
Post 5.0.3 Issues persist — form dead and Admin broken. Resolved haslamjj ... https://github.com/pryley/site-reviews/blob/master/plugin/Hooks.php#L119.
Read more >
repair-admin-quorum - Oracle Help Center
Copy repair-admin-quorum {-zn <id> | -znname <name> | -admin <id>}... Restores Admin quorum after it ...
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