24063: Merged V3.3-BUG-FIX to V3.4:
24050: Merged V3.3 to V3.3-BUG-FIX
23692: Merged DEV/TEMPORARY to V3.3
23690: ALF-5576: Cannot write to CIFS when RM is installed.
Add missing security levels for ContentService.getStoreTotalSpace and ContentService.getStoreFreeSpace in RM.
Remove duplicate entry of ContentService.isTransformable in public-services-security-context.xml.
23968: ALF-4846: Update rules are firing on inbound actions
- Fixes duplicate issue ALF-5272: Update rule works incorrecly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
r24622 Fix for ALF-6192 alfresco share could not delete file with preview.
This issue was ultimately caused by the incorrect use of a BeforeDeleteNode policy.
As a workaround to ALF-4119 a beforeDeleteNode policy was defined in RenditionAspect.java.
This policy ensured that when path/template-based renditions were deleted, that the parent-child
association to the source node, which is a non-primary association, was removed. In doing so, future
calls to renditionService.getRenditions() would not return renditions from the archive store.
However, this led to the permissions problem observed in this issue.
It is possible that running the BeforeDeleteNode policy as system could have resolved the problem.
However an alternative workaround for the deleted renditions problem has been implemented.
The policy has been removed and instead, the RenditionService filters the results.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24690 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
24350: ALF-3584 - SDK missing wss4j dependency
24351: ALF-3584 - Cleaning up SDK list of libs. (I think there may be a limit on the size somewhere)
23343: ALF-3119 - MLText is not fully carried during copy-paste
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24360 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23368: Merged V3.3-BUG-FIX to V3.4
23363: Merged V3.3 to V3.3-BUG-FIX
23358: (RECORD ONLY) Removed redundant svn:mergeinfo
23359: Minor I18N fix on patch.updateMimetypes2
23360: Fixed ALF-3167: Websphere/Db2 SchemaBootstrap.dumpSchema is failing due to result set is closed error
- SchemaDump uses nested resultset reads, which is incompatible with SchemaBootstrap's auto-commit connection
- Also pull back some changes to fix MySQL builds after MySQL upgrades
23361: More patch I18N
23362: Merged V3.2 to V3.3
23333: Fixed ALF-5396: Missing FK indexes on non-MySQL databases
23324: Fixed ALF-5396: Missing FK indexes on non-MySQL databases
- Create scripts were manually ported and required full clean-install testing in addition to upgrade testing
23372: Fixed ALF-5421: update_ChildAssocsIndex ibatis statement does not include child_node_id
23523: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
23490: Merged BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
23470: Merged V3.2 to V3.3
23395: Merged BRANCHES/DEV/BELARUS/HEAD_2010_09_21 to V32
22821: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x.
23055: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x (record-only, used only part of this checkin).
23198: ALF-4203: WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x.
23398: ALF-4203: fix for "WCM 2.2.7 case-senstivity causes err rs after upgrade to 3.2.x"
- updated template for patch.eliminateDuplicates
23433: Fix for ALF-4203: "WCM 2.2.7 case-sensitivity causes errors after upgrade to 3.2.x"
- revised fix
23752: Fixed ALF-5453: Remove old Audit tables from schema create scripts
23957: Fixed ALF-5308: SQL error when changing name for record / folder with dispostion schedule applied
24250: Fix typo in original fix of ALF-5308 and add unit test
24345: Merged V3.3 to V3.4
24337: Fixed ALF-6078: WCM: alf_lock table version number fails during roll-over.
- Added specific, minor fixes for 3.4
24352: Fix SQL fallout from ALF-6078
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24354 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
24304: Fixes: ALF-5990 - updated spring surf lib (r738) with CSS modifications to toolbar to prevent wrapping.
23557: Merged /BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
23556: Merged /BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
23555: Fixes:
- ALF-5599: TaggingServiceImpl.updateTags obliterates list of tags in "after" properties bag
- ALF-5589: WQS - Node does not exist exception on upload of new version
23529: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4
23525: Merged BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
23505: WQS: Fixes ALF-5524
Fixed ALF-5300
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24335 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
24070: Merged DEV/BELARUS/V3.4-2010_11_11 to V3.4
24011: ALF-5618: Webdav with MAC OS X problems - Locking / unlocking creates new versions
24101: Disabled test and reopened ALF-5618
24117: Fixed test inter-dependencies on 'excludedOnUpdateProps' for ALF-5618
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23694: Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.4:
23682: Merged /BRANCHES/V3.3 to BRANCHES/DEV/V3.3-BUG-FIX:
23681: Fixes ALF-5699: TransferService: Snapshot file from source repo never contains complete MLText properties
Also fixed bug that was exposed by the merge relating to incorrect parsing of MLText values in the XMLTransferManifestReader.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23345: Merged BRANCHES/DEV/DC33E to BRANCHES/V3.4:
23305: Resolve ALF-5324: SDK is missing alfresco-share-3.4.a.jar
23306: Resolve ALF-5321: Jar generated in SDK example "CustomAspect" is not correct.
23307: Resolve ALF-5294: Internal Target throws an exception when try to edit it
23308: Resolve ALF-5332: Exception in SDK CustomAspect
23309: Resolve ALF-5162: CMIS Web Services: getTypeDescendants() returns a flat list, not a tree
23326: Resolve ALF-5039: Change events for documents creation are not returned
23356: Fix to continuous.xml
23482: Resolve ALF-5438: Required flag is wrong for most CMIS spec defined property definitions
23488: Resolve ALF-5439: Updatability of cmis:contentStreamFileName must be read-only
23501: Resolve ALF-5440: Some property definitions don't have descriptions
23502: Resolve ALF-5534: Subtypes of F:cm:systemfolder should not be creatable
CMIS fixes for cmis.alfresco.com.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23532 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23430: Merged V3.3 to V3.3-BUG-FIX
23429: Merged PATCHES/V3.2.0 to V3.3
23428: ALF-5141: Further refinement of transaction limiting behaviour
- Once accepted a transaction will be retried until it succeeds or the retry limit is exceeded. No limiting of retries by time as otherwise likelihood of any transaction succeeding under load is small
- Default web transaction threshold is now 20 seconds to avoid problems on non-loaded systems
- Record stack traces of tracked transactions to help debug slow transactions
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23431 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
Added new policy to aspect rn:rendition. Rendition nodes, before deletion, have their non-primary parent assocs removed. Otherwise the deletion of rendition nodes (which just moves them to the archive store) means that renditionService.getRenditions() returns those deleted assocs.
Enabled HTMLRenderingEngineTest.testImagesSameFolder test case. Changed it slightly so that it deletes renditions/extracted images between test runs to prevent unwanted overwriting of renditions
Enabled RenditionServiceIntegrationTest.testRenditionPlacements test case. Fixed the test path to point to /.../filename.txt as it should.
Rewrote the end of the test to cover the cases where a rendition is attempting to overwrite another.
Refactoring: renamed numerous private variables to aid readability
Changes to RenditionNodeManager. If:
a rendition is to an existing node that is not a rendition OR
a rendition is to an existing rendition node whose source is not the same as the current one OR
a rendition is to an existing rendition node whose renditionDef's name has changed
Then throw an exception. We explicitly disallow these use cases now. We may support them in the future with a "forceOverwrite" option somewhere.
StandardRenditionLocationResolverImpl now uses a RepositoryHelper to locate CompanyHome rather than a Lucene search
Extensive debug logging added to the service.
Added some javadoc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23257: Merged V3.3 to V3.3-BUG-FIX
23224: (RECORD ONLY) MERGE V3.3 BUG FIX to V3.3
23199 : imap message test
23247: Merged HEAD to V3.3
23246: Fix for ALF-5032: findAuthorities() getting slow when many groups are created.
- moved to PARENT driven queries where possible in preference to PATH
23255: Merged PATCHES/V3.2.0 to V3.3
23252: ALF-5141, ALF-5302, ALF-5281: Improved transaction limiting mechanism
- No ceiling. Just monitor transaction start times and reject new transactions when the oldest transaction is older than the threshold.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23167: Removed hard-coded "localhost" from ImapMessageTest
23179: (RECORD ONLY) Merged HEAD to V3.3-BUG-FIX
23064: Quick build fix (fallout from audit)
23069: Do not attempt to audit InputStream property
23190: Merged V3.3 to V3.3-BUG-FIX
23189: Merged PATCHES/V3.2.0 to V3.3
23173: ALF-5249: RepositoryContainer needs an 'unlimited' txn helper in order to generate the error response.
23186: (RECORD ONLY) Merged V3.3-BUG-FIX to V3.3
23180: Added flag for strict audit config loading: audit.config.strict=false
23184: (RECORD ONLY) Merged V3.3-BUG-FIX to V3.3
23179: Merged HEAD to V3.3-BUG-FIX
23064: Quick build fix (fallout from audit)
23069: Do not attempt to audit InputStream property
23171: Fixed ALF-1990: Trashcan "Delete All Items" button might not delete all items
- NodeArchiveService implements batching and locking for purgeAll... and restoreAll...
- One user can do this operation at a time. Other users get 'busy' error.
- Items will disappear from the trashcan as the process progresses.
23169: Merged HEAD to V3.3
22933: Fixed getLock implementation to handle zero retry parameters
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23192 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23175: Merged V3.3 to V3.3-BUG-FIX
23174: Fix ALF-5183: Audit configuration problems should not prevent server startup
23180: Added flag for strict audit config loading: audit.config.strict=false
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23187 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
23080: Fix for ALF-3815 - Error occur on creating user (Active Directory +LDAP authentication)
23084: MERGED DEV to V3.3-BUG-FIX
22839 : ALF-4920 - IMAP server UID failure
23102: Checked in file with my Hostname!
23141: Merged PATCHES/V3.2.0 to V3.3-BUG-FIX
22977: ALF-5057: Don't use lucene to locate tag nodes - unreliable in a cluster
- CategoryService extended with root category retrieval method using node service
23043: ALF-5057: Merged V3.2 to PATCHES/V3.2.0 (partial)
18052: Merged DEV/REPO-DOCLIB to V3.2
17653: Checkpoint Repo DocLib prototype work
23142: Merged PATCHES/V3.2.0 to V3.3-BUG-FIX
22981: ALF-5141: Need to limit webscript response times and reject traffic at high load
- server.web.transaction.max-duration-ms property now specifies a maximum time for repository webscript transaction execution. Default is 10 seconds.
- transaction retrying will not continue when the projected time is greater than this
- Once a transaction hits this execution time the number of concurrently executing transactions at the time it was started becomes the ‘ceiling’ for the number of concurrent transactions
- The ceiling will dynamically rise and fall, based on transaction execution times
- When a transaction is started ‘above’ the current ceiling a TooBusyException is thrown, which is mapped to an immediate status 503 response
- New unit test added for this
23006: ALF-5141: Reverting IndexInfo changes
- 'fairness' flag on ReentrantReadWriteLock appears to cause deadlock on JDK 1.5 in IndexInfoTest
- lucene.indexer.maxMergeWait property and associated throttling 'back off' behaviour abandoned as it has the risk of leaving indexes in incomplete uncommited state
- transaction limiter feature should be enough to avoid excessive wait times
23011: ALF-5141: Reintroduce fair locking to IndexInfo and fix RetryingTransactionHelperTest
- Bugs surrounding ReentrantReadWriteLock in old JVMs mean that it's not safe to make fair locking the default
- However, it would be useful in new JVMs as it should guarantee that we don't lock out waiting writers indefinitely under high load
- Now controlled by lucene.indexer.fairLocking property. Default value is false in V3.2.0 but true in V3.3.4 onwards.
- RetryingTransactionHelperTest now uses latches to ensure test threads start up in strict sequential order
23014: ALF-5141: Correct error that could allow transaction ceiling to be lowered to zero
23146: (RECORD ONLY) ALF-5028: Merged HEAD to V3.3-BUG-FIX
21471: SAIL-240 (SAIL-294) AuditDAO: AuditService enhancements
- Added isAuditEnabled and enableAudit for global case (system-wide)
- Some neatening up of Audit SQL (common WHERE and ORDER BY clauses)
- AuditService enforces 'admin' role for all methods
22109: ALF-4106: Added entry deletion count return value for clear()
22726: Coding standards
22857: Fix typo in javadoc
22980: Added AuditService.clearAudit(List<Long>)
22986: ALF-5028 - Tagging Service Update - Use the audit service as a persisted event log, so that tag scope updates can occur in batches and without contention issues. (Further tests and post-startup executor still needed)
This commit enables the Audit Service by default, but turns off all the audit applications except tagging by default, so there shouldn't be any noticable changes
22997: ALF-5028 - More tag scope updates and unit tests. Shortly after the system is started, check for un-applied tag scope updates, and apply them.
23015: ALF-5028: Tagging test mods
- Join onto first-level threads to be sure that first round of tagging has been done
- Double-checks for transaction leaks (found 1)
- Some formatting (new test only, but should be applied to file)
23148: Merged PATCHES/V3.2.0 to V3.3-BUG-FIX
23133: ALF-5221: Fixed file handle leaks in TaggingService
23149: Merged V3.2 to V3.3-BUG-FIX
23070: Part-fix ALF-5134: Performance of Alfresco cluster less than performance of single node
- Prevent cache being updated even when there are no changes
- Prevents some cache invalidation messages during read operations
23071: ALF-5134: Performance of Alfresco cluster less than performance of single node
- Removed null-equivalence check in TransactionalCache
- Avoids cache update messages when running against empty caches
23150: (RECORD ONLY) ALF-5235: Merged HEAD to V3.3-BUG-FIX
22695: ALF-3800 "File is uploaded to the Document Library when its size more than user quota": make sure the exception is thrown back up to the transaction machinery to perform a rollback
23156: Merged V3.3 to V3.3-BUG-FIX
22913: Add jars back into Tomcat bundles
23028: Merged DEV to V33:
23022: ALF-4760 : XAM post-retention cleanup job: XAMArchiveJob
1. Post-retention xam cleanup job was implemented according to requirements provided by Derek.
2. Unit tests was added for new functionality.
23125: Merged HEAD to V3.3
20752: BatchProcessor is fed work by a BatchProcessWorkProvider
22297: Fixed ALF-4676: WorkProviderIterator over BatchProcessWorkProvider does not fetch all results
23126: (RECORD ONLY) Merged BRANCHES/DEV/V3.3-BUG-FIX to BRANCHES/V3.3:
22883: ALF-4800 - AVM - intermittent test failure (layered file delete)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261