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

Container magic in ElggEntity::create() #8981

Closed
hypeJunction opened this Issue Sep 24, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@hypeJunction
Contributor

hypeJunction commented Sep 24, 2015

In ElggEntity::create(), $container_guid is set to $owner_guid if 0. However later, the code tries to get container entity using $this->getContainerEntity(), rather than using get_entity($container_guid).

Not sure what's going on there, but I getting:
ERROR: User 2 tried to create a (object, album_image), but the given container 2 could not be loaded.

@Daltonmedia

This comment has been minimized.

Show comment
Hide comment
@Daltonmedia

Daltonmedia Nov 17, 2015

Anyone an idea already what could be causing this?

Daltonmedia commented Nov 17, 2015

Anyone an idea already what could be causing this?

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