Asset Publisher and checking permissions
Description
causes
Activity
Show:

Matthew Lee August 21, 2012 at 5:24 PM
Committed on:
Portal 6.1.x CE GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990.
Portal 6.2.x GIT ID: 7e448632ac9f81d5a4bd1b088016fa1ceb95c990.

Juan Gonzalez March 15, 2012 at 11:08 AM
Seems this issue caused this one:

Michael Han December 20, 2011 at 4:34 AM
@Piotr, no there were some situations where the same query was happening multiple times so we activated more caching to avoid this.

Piotr Filipowicz December 1, 2011 at 12:07 PM
(2) Reduce amount of permission checks you mean remove 'assetRenderer.hasViewPermission(permissionChecker)' on asset's views (jsps)?

Michael Han December 1, 2011 at 11:45 AM
For short term:
(1) Provide ability to enable/disable permission checks
(2) Reduce amount of permission checks executed and added more caching
Fixed
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
Piotr FilipowiczPiotr FilipowiczBranch Version/s
6.1.x6.0.xBackported to Branch
CommittedGit Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
6.0.x
Backported to Branch
Committed
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created October 20, 2011 at 7:21 AM
Updated June 24, 2023 at 3:41 PM
Resolved June 4, 2012 at 3:23 PM
When I have about 10 000 AssetEntry and one asset publisher in my page and I want display all of them - Asset Publisher sends 30 000 queries to database in one request.
I've written about it here: http://liferaycms.wordpress.com/2011/10/11/one-of-bottleneck-in-liferay-6-1/ and here: http://liferaycms.wordpress.com/2011/10/17/asset-publisher-and-queries-count/