New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inputs page does not load #1798

Closed
lennartkoopmann opened this Issue Feb 11, 2016 · 1 comment

Comments

Projects
None yet
4 participants
@lennartkoopmann
Member

lennartkoopmann commented Feb 11, 2016

System -> Inputs does not load and I see this error in the browser JS console:

Unhandled rejection TypeError: Cannot read property 'requested_configuration' of undefined
    at render (webpack:///./src/components/inputs/InputListItem.jsx?:230:33)
    at M._renderValidatedComponentWithoutOwnerOrContext (http://localhost:9000/vendor.js:408:9437)
    at M._renderValidatedComponent (http://localhost:9000/vendor.js:408:9613)
    at i [as _renderValidatedComponent] (http://localhost:9000/vendor.js:12:21248)
    at M.mountComponent (http://localhost:9000/vendor.js:408:4589)
    at i [as mountComponent] (http://localhost:9000/vendor.js:12:21248)
    at Object.a.mountComponent (http://localhost:9000/vendor.js:13:5381)
    at M.g.Mixin.mountChildren (http://localhost:9000/vendor.js:409:11442)
    at M.Mixin._createContentMarkup (http://localhost:9000/vendor.js:408:21175)
    at M.Mixin.mountComponent (http://localhost:9000/vendor.js:408:20075)
    at Object.a.mountComponent (http://localhost:9000/vendor.js:13:5381)
    at M.mountComponent (http://localhost:9000/vendor.js:408:4685)
    at i [as mountComponent] (http://localhost:9000/vendor.js:12:21248)
    at Object.a.mountComponent (http://localhost:9000/vendor.js:13:5381)
    at M.g.Mixin.mountChildren (http://localhost:9000/vendor.js:409:11442)
    at M.Mixin._createContentMarkup (http://localhost:9000/vendor.js:408:21175)

Nothing relevant in graylog-server logs.

@lennartkoopmann lennartkoopmann added this to the 2.0.0 milestone Feb 11, 2016

@bernd bernd added bug S1 P1 labels Feb 11, 2016

@dennisoelkers

This comment has been minimized.

Member

dennisoelkers commented Feb 11, 2016

Are you missing a plugin for that input? Can you poste the content of your inputs collection in mongodb or the output of a /system/inputs call?

@dennisoelkers dennisoelkers self-assigned this Feb 11, 2016

dennisoelkers added a commit that referenced this issue Feb 11, 2016

Do not render input form when type is not available.
Before this, the inputs page would break when the type definition for a
given input is not present (for example due to a plugin not being
loaded). Now we skip rendering the input form and disable the edit
button.

Closes #1798

@kroepke kroepke added the triaged label Sep 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment