Skip to content
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

Unable to edit database entries #35

Open
RemiRigal opened this issue Feb 24, 2020 · 3 comments
Open

Unable to edit database entries #35

RemiRigal opened this issue Feb 24, 2020 · 3 comments

Comments

@RemiRigal
Copy link

I'm using the latest mongoku docker image on an Ubuntu 16.04, The Mongo Server is the latest from docker hub too.

Whenever I edit a database entry I have this screen showing up:
Screenshot from 2020-02-24 17-05-38

All 6 buttons have no effect.

Here is the console output from Chrome:

POST http://192.168.1.253:3100/api/servers/192.168.1.253/databases/sacred/collections/runs/documents/undefined?partial=true 500 (Internal Server Error)
[...]

main.655e64f2fe8da11ef927.js:1 ERROR TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
    at e.t.appendChild (main.655e64f2fe8da11ef927.js:1)
    at t.ngOnInit (main.655e64f2fe8da11ef927.js:1)
    at main.655e64f2fe8da11ef927.js:1
    at main.655e64f2fe8da11ef927.js:1
    at Yo (main.655e64f2fe8da11ef927.js:1)
    at _s (main.655e64f2fe8da11ef927.js:1)
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
[...]

main.655e64f2fe8da11ef927.js:1 ERROR TypeError: Cannot read property '_id' of undefined
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
    at is (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
    at os (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
[...]

main.655e64f2fe8da11ef927.js:1 ERROR TypeError: Cannot read property '_id' of undefined
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Object.updateDirectives (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
    at is (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)
    at os (main.655e64f2fe8da11ef927.js:1)
    at Zo (main.655e64f2fe8da11ef927.js:1)
    at ss (main.655e64f2fe8da11ef927.js:1)

Thank you.

@marklonquist
Copy link

I'm experiencing the same. Checked the console, and there seems to be an issue with the data being sent.

@SirAnthony
Copy link

SirAnthony commented May 8, 2020

Problem is in non-ObjectId _id fields always attempts to convert to ObjectId instance. I fixed this problem in fork I worked on, check next commits for the fix:
hola@e0103e5 hola@bf3ec81 hola@6feb4e9

@chansdad
Copy link

same issue i installed mongoku using npm , and my _id filed has objecId .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants