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

Modify/rethink Entity init functions #1474

Open
Stephan-S opened this issue Mar 1, 2017 · 0 comments
Open

Modify/rethink Entity init functions #1474

Stephan-S opened this issue Mar 1, 2017 · 0 comments

Comments

@Stephan-S
Copy link
Contributor

We have to rewrite/rethink parts of the Entity.init() functions.
With MongoDB we do not yet have a valid ID for the element before we save() the element once.

This is a problem since many attributes call modify functions during the init() function which already require a valid ID / DB entry for various functions like accessing the corresponding path which is bound to the ID.

We either have to re-add the VMID attribute and make the paths and so on dependable on this ID instead of the DB entry ID or check if it is possible to create a dummy element with MongoDB to get an ID right from the start.

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

1 participant