32413: ALF-2016: Use org.apache.commons.compress.archivers.zip.ZipArchiveOutputStream and UTF-8 encoding instead of org.apache.tools.zip.ZipOutputStream and Cp437 encoding at export *.acp file.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32461 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- TransferListener objects now receive the correct, useful events when files and folders are created, updated, moved, and deleted.
- The processing algorithm has been changed to eliminate (or at least substantially reduce) the risk of a transfer breaking and leaving the filesystem
in a "bad" state.
NOTE: This commit will make any existing FTR instances obsolete due to a schema change on the receiving end. Any FTR instances currently deployed in the community (4.0.a or 4.0.b) will need to be replaced with a clean FTR deployment and repopulated from the source repository - there is no upgrade path.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32441 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
The differences and validation messages are hopefully improved, e.g:
Difference: missing sequence from database, expected at path: .alf_acl_member_seq
Difference: missing table from database, expected at path: .alf_acl_change_set
Validation: index alfresco.some_table.idx_table_id.name="idx_table_id" fails to match rule: value must be 'xyz'
I'm sure there's still room for improvement but this should give a decent starting point.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32420 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Officially, all upgrades from 2.1.x, 2.2.x and 3.0.x must now go via 3.4.x
- Allows upgrades without indexes in 4.0 e.g. 'patch.deploymentMigration' (ALF-11760)
- When attempting to upgrade directly from V2.1 or V2.2, a message will appear:
Patch ''{0}'' was last supported on version {1}.\n Please follow an incremental upgrade using version {2}.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32396 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
31798: Merged V3.3 to V3.4-BUG-FIX
31773: ALF-11279: Further RetryingTransactionInterceptor fixes -
must do mark for rollback on propagating transactions
31758: Merged V3.3 to V3.4-BUG-FIX
31757: ALF-11279: Fixed RetryingTransactionInterceptor so that it actually behaves
like an interceptor and doesn't throw away the rest of the interceptor chain!
Added in PROPAGATION_SUPPORTS that came in on 4.0
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Change the way the CMIS implementation interacts with authentication, logging and transactions
by constructing a service layered in three interceptors:
<property name="cmisTransactions" ref="CMISService_Transactions" />
<property name="cmisExceptions" ref="CMISService_Exceptions" />
<property name="cmisControl" ref="CMISService_Control" />
- CMISService_Transactions:
Retrying transactions are initiated for all operations and we no longer attempt to hold
transactions open across method calls. This optimization is secondary to having full retrying
behaviour, without which the server could throw avoidable exceptions in concurrent environments.
- CMISService_Exceptions:
Performs translation from typical repo exceptions into CMIS exceptions
- CMISService_Control:
Provides details logging of inbound authentication states, arguments, exceptions and return values
To get logging without method arguments (can be verbose):
log4j.logger.org.alfresco.opencmis.AlfrescoCmisServiceInterceptor=DEBUG
To include method call arguments:
log4j.logger.org.alfresco.opencmis.AlfrescoCmisServiceInterceptor=TRACE
Logging will include details of inbound, method-call and outbound thread authentication credentials.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
32207: Fix ALF-11644: AVM cleanup jobs run when WCM is not installed
- Moved scheduled jobs to installable wcm-bootstrap-context.xml
- Also got rid of orphan reaper warnings when running in a cluster (not ALF-11720, but mentioned in it)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Struggled to get reproducible test in code
- If this doesn't fix the problem fully, then at least it'll push it up a level,
however the higher caches already have pessimistic removal of entries, so should be OK
- In the same way, this could fix ALF-11720: WCM: OrphanReaper contention throws error (3.4.x)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* ActivityPostService checks incoming nodeRef values in JSON - they must at least work in a NodeRef constructor.
* FeedTaskProcessor ignores nodeRef values that cannot be used in a NodeRef constructor.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32321 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- The code did this:
return method.invoke(target.getThis(), target.getArguments());
rather than this:
return target.proceed();
- Services that used this are PublishingService, ChannelService, TransferService and
old CMIS dmServicesProxyCreator
- None of the above are adversely affected because the first 3 don't apply permissions
and the last one uses the interceptor in reverse order
- BUT: None of the aforementioned services will be auditable!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32276 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261