VCS: fix Collection refresh
---------------------------

                 Key: NXP-7731
                 URL: https://jira.nuxeo.com/browse/NXP-7731
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
          Components: Core SQL Storage
    Affects Versions: 5.4
            Reporter: Florent Guillaume
            Assignee: Florent Guillaume
            Priority: Major
             Fix For: 5.4.3


CollectionIO fails to properly refetch a collection. This only happens when a 
collection has been evicted by the GC.
{noformat}
StorageException: Could not select: SELECT "POS", "NAME", "GRANT", 
"PERMISSION", "USER", "GROUP" FROM "ACLS" WHERE "ID" = ? ORDER BY "POS"
        at 
org.nuxeo.ecm.core.storage.sql.coremodel.SQLCollectionProperty.getValue(SQLCollectionProperty.java:71)
        at 
org.nuxeo.ecm.core.storage.sql.coremodel.SQLSecurityManager.getACP(SQLSecurityManager.java:51)
        ... 37 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
org.nuxeo.ecm.core.storage.StorageException.
message: Could not select: SELECT "POS", "NAME", "GRANT", "PERMISSION", "USER", 
"GROUP" FROM "ACLS" WHERE "ID" = ? ORDER BY "POS"
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.JDBCRowMapper.readCollectionRowArray(JDBCRowMapper.java:770)
        at 
org.nuxeo.ecm.core.storage.sql.CachingRowMapper.readCollectionRowArray(CachingRowMapper.java:388)
        at 
org.nuxeo.ecm.core.storage.sql.CollectionFragment.refetch(CollectionFragment.java:78)
        at org.nuxeo.ecm.core.storage.sql.Fragment.accessed(Fragment.java:229)
        at 
org.nuxeo.ecm.core.storage.sql.CollectionFragment.get(CollectionFragment.java:63)
        at 
org.nuxeo.ecm.core.storage.sql.CollectionProperty.getValue(CollectionProperty.java:42)
        at 
org.nuxeo.ecm.core.storage.sql.coremodel.SQLCollectionProperty.getValue(SQLCollectionProperty.java:64)
        ... 38 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: 
java.lang.RuntimeException. message: pos
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.ACLCollectionIO.getCurrentFromResultSet(ACLCollectionIO.java:61)
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.ACLCollectionIO.getCurrentFromResultSet(ACLCollectionIO.java:29)
        at 
org.nuxeo.ecm.core.storage.sql.jdbc.JDBCRowMapper.readCollectionRowArray(JDBCRowMapper.java:755)
        ... 44 more
{noformat}


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to