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

Copy page version bug, run out of memory #22

Closed
nadar opened this issue Jan 8, 2018 · 0 comments
Closed

Copy page version bug, run out of memory #22

nadar opened this issue Jan 8, 2018 · 0 comments
Assignees
Labels

Comments

@nadar
Copy link
Member

nadar commented Jan 8, 2018

When creating a new version based on an existing version, it can cause an out of memory exception

{
"name":"PHP Fatal Error",
"message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes)",
"code":1,
"type":"yii\\base\\ErrorException","file":"vendor/luyadev/luya-module-cms/src/models/NavItem.php","line":56
}

API:

admin/api-cms-navitem/create-page-version

Params:

layoutId:0
navItemId:287
name:test 3
fromPageId:243

@nadar nadar self-assigned this Jan 8, 2018
@nadar nadar added the bug label Jan 8, 2018
@nadar nadar closed this as completed in 29b5c34 Jan 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant