Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-21315

Alfresco 5.0c -> 5.0d change views "Mandatory property not set:"

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 5.0.d Community
    • Fix Version/s: None
    • Component/s: Share Application
    • Security Level: external (External user)
    • Labels:
      None
    • Environment:
      Tomcat Debian 7 - MySQL DB
    • Resolution Time Custom Field:
      8 weeks, 20 hours, 16 minutes, 11 seconds

      Description

      Hi,

      I upgrade my Alfresco from 5.0c to 5.0d without a problem.
      But after login and change the views for example from "icon view" to "details view" Alfresco show this error:

      Node: workspace://SpacesStore/c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
      Name: c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
      Type:

      {http://www.alfresco.org/model/content/1.0}

      person
      Property:

      {http://www.alfresco.org/model/content/1.0}

      sizeCurrent

      I stop Tomcat, delete data, drop&create database and start from scratch.
      If I change the view now in the Sample Project it work as expected.

      Look like something go bad in the upgrade process?

      Samuel

      Logfile:

      2015-04-03 18:18:39,648 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-bio-127.0.0.1-8080-exec-8] Exception from executeScript - redirecting to status template error: 03031264 Found 1 integrity violations:
      Mandatory property not set:
         Node: workspace://SpacesStore/c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
         Name: c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
         Type: {http://www.alfresco.org/model/content/1.0}person
         Property: {http://www.alfresco.org/model/content/1.0}sizeCurrent
      org.alfresco.repo.node.integrity.IntegrityException: 03031264 Found 1 integrity violations:
      Mandatory property not set:
         Node: workspace://SpacesStore/c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
         Name: c9fa6f86-fa81-4359-9483-fe4f9bc4b31e
         Type: {http://www.alfresco.org/model/content/1.0}person
         Property: {http://www.alfresco.org/model/content/1.0}sizeCurrent
              at org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:664)
              at org.alfresco.repo.node.integrity.IntegrityChecker.beforeCommit(IntegrityChecker.java:766)
              at org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit(TransactionSupportUtil.java:498)
              at org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:925)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:738)
              at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:724)
              at org.springframework.transaction.interceptor.TransactionAspectSupport.commitTransactionAfterReturning(TransactionAspectSupport.java:475)
              at org.alfresco.util.transaction.SpringAwareUserTransaction.commit(SpringAwareUserTransaction.java:482)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:479)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:551)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:619)
              at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:399)
              at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:280)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
              at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
              at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
              at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
              at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at java.lang.Thread.run(Unknown Source)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                Samuel Samuel Wolf
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: