cancel
Showing results for 
Search instead for 
Did you mean: 

Online edit hides all files from a directory?!?!?!

domagoj
Champ in-the-making
Champ in-the-making
Hi all,

we're using Share as a collaboration platform and we ran into a strange behavior. We looked everywhere, but couldn't find a solution so a post here is in order.

The problem is that when someone starts Online Editing (without checking out the document) of an MS Office document (Word, Excel… version is 2003 SP3) then all documents in that folder where the file resides become invisible!?!? Both for that user and other users?! Folder is displayed as empty (folders and files are hidden) but the navigation bar is displayed, e.g.
1 - 4 of 4   << 1 >>

After the file is closed, the contents of the Document Library are displayed again.

Is this some sort of feature we don't understand? Is there a way to configure this? I'd like to give this collaboration platform to be used throughout our company, but with this behavior my only solution is to disable Online editing as a whole. And that would be a shame since it's a very interesting feature…

TIA!
5 REPLIES 5

domagoj
Champ in-the-making
Champ in-the-making
I looked into the logs and there are exceptions when this happens. What do these exceptions mean?

2012-02-22 11:46:03,209  ERROR [extensions.webscripts.AbstractRuntime] [http-8445-4] Exception from executeScript - redirecting to status template error: 01221614929 Wrapped Exception (with status template): No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
org.springframework.extensions.webscripts.WebScriptException: 01221614929 Wrapped Exception (with status template): No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:905)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.dao.ConcurrencyFailureException: No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getNodeNotNull(AbstractNodeDAOImpl.java:996)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getParentAssocsCached(AbstractNodeDAOImpl.java:3514)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3387)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3503)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getPaths(AbstractNodeDAOImpl.java:3317)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:562)
   at sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy143.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:183)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 25 more
2012-02-22 11:46:53,456  ERROR [extensions.webscripts.AbstractRuntime] [http-8445-4] Exception from executeScript - redirecting to status template error: 01221614969 Wrapped Exception (with status template): No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
org.springframework.extensions.webscripts.WebScriptException: 01221614969 Wrapped Exception (with status template): No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:905)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:393)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:500)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:275)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:372)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:619)
Caused by: org.springframework.dao.ConcurrencyFailureException: No node exists:
   ID:        1658
   DB row:    NodeEntity[ ID=1658, version=4, store=workspace://SpacesStore, uuid=c312e6f0-9801-42d1-98c5-204479c67275, typeQNameId=32, localeId=1, aclId=null, deleted=true, transaction=TransactionEntity[ ID=1699, server=null, changeTxnId=ffe33d4d-f598-450c-9498-79ae9563dc62, commitTimeMs=null], auditProps=AuditablePropertiesEntity[ auditCreator=ijakus, auditCreated=2012-01-11T16:52:14.690+01:00, auditModifier=ijakus, auditModified=2012-01-11T16:55:10.503+01:00]]
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getNodeNotNull(AbstractNodeDAOImpl.java:996)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getParentAssocsCached(AbstractNodeDAOImpl.java:3514)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3387)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.prependPaths(AbstractNodeDAOImpl.java:3503)
   at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getPaths(AbstractNodeDAOImpl.java:3317)
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:562)
   at sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:65)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy143.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:183)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 25 more

ivanhr
Champ in-the-making
Champ in-the-making
Problem mentioned in second post was solved using manual deletion of missing node from DB.
Following thread was helpful https://forums.alfresco.com/en/viewtopic.php?f=4&t=43095.

Now there are no errors in log but problem still persists. When document is opened for online editing documents inside same folder can't be seen.
IE shows following error:
Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; .NET4.0C; .NET4.0E; MS-RTC LM 😎
Timestamp: Thu, 23 Feb 2012 12:42:56 UTC


Message: 'workingCopy.googleDocUrl' is null or not an object
Line: 1
Char: 19104
Code: 0
URI: http://192.168.10.17:8079/share/res/components/documentlibrary/documentlist-min.js

Firefox shows following error:
aM.workingCopy is undefined      documentlist-min.js (line 1)

ivanhr
Champ in-the-making
Champ in-the-making
Ok, so now I went in debug mode so Alfresco uses expanded version of JavaScript.

Problem is that "record.workingCopy" is undefined and Alfresco is checking and using "record.workingCopy.googleDocUrl".

Any suggestions to why is this happening and possible solutions other than changing the source code of script?

slowdjinn
Champ in-the-making
Champ in-the-making
Hello, I am having the same problem.  Were you able to resolve the issue?

mitpatoliya
Star Collaborator
Star Collaborator
have you changed any settings in the alfresco-global.properties file related to google Doc integration?
It looks like it has something to do with that only :roll:
You should not change the OOTB script code.