Derek Hulley
a87c7cb605
Further fix on HEAD following rev 30520: Revisited timestamp propagation (cm:modified)
...
- Added missing override of cm:auditable properties in 'touch' method
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30617 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 19:45:30 +00:00
Derek Hulley
d88dc0f100
Minor merge cleanup
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30616 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 19:43:55 +00:00
Mark Rogers
53a1c35e78
ALF-6721 - added a new unit test for ftp and quota.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 15:27:45 +00:00
Nick Burch
eced94e231
ALF-10318 Update CalendarEntry to hold the created and modified at dates
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30601 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 12:56:01 +00:00
Derek Hulley
fb406b769b
Merged V3.4-BUG-FIX
...
30520: Revisited timestamp propagation (cm:modified) now that the system does this by default
- Original low-level code (Hibernate optimizations) pulled back into NodeService implementation
- Use case driven prompting to touch the parent node
- Full indexing and policy callbacks against parent (was missing completely)
- Optimizations to ensure parent node modifications are only done where required and
the same transaction is used where possible
- 1s accuracy limit is maintained to prevent unnecessary modifications
- Enhanced tests to cover use cases where propagation is expected
- ALF-10262: Timestamp propagation is enabled by default
- Fixes or will fix:
- ALF-10291: Test disabled: SOLRTrackingComponentTest (various)
- ALF-7433: A file deleted using the web UI still appears in a NFS mount but with NULL stats
- ALF-10271: Test disabled: ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
- ALF-10267: Test disabled: NodeServiceTest.testArchiveAndRestore
Also
- Found problem where cm:auditable properties could be modified directly against the cached values
- Extended locking of cached entities to the AuditablePropertiesEntity
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 11:30:56 +00:00
Brian Remmington
5e3cb4cb96
ALF-10351: FSTR: No receiver-side report is being generated and returned
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30596 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 11:09:03 +00:00
Gavin Cornwell
4ca838b761
Build fixes:
...
- ALF-10374: Test disabled: MultiTDemoTest.testCustomModels
- Removed unused abstract base class that didn't follow naming conventions so got picked up as a test to run
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30593 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-19 09:59:44 +00:00
Nick Burch
5de60b97be
Upate Tika and add Ogg Vorbis support + tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-18 23:08:59 +00:00
Mark Rogers
677a0a85f5
Node monitor needs to deal with more than a single node.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30567 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-16 10:04:36 +00:00
N Smith
6d46ef90ec
Added tests to ensure multi-tenancy works and fixed several multi-tenancy issues in workflow.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-16 09:34:02 +00:00
Kevin Roast
53674e57eb
Reworking of AVM to ADM RemoteStore patch to remove thread contention by precreating 'surf-config' folders for each site.
...
Also speeds up patch processing by ~20%.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 19:49:12 +00:00
Andrew Hind
446dd424ee
Fix for ALF-10231: SOLR: CMIS infolder and inTree fail as the noderef can not be turned into a PATH ....
...
- added ANCESTOR tracking to SOLR (as there is no wya to turn a node ref into a PATH)
- tested using the open cmis workbench using IN_FOLDER and in_TREE
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 18:38:20 +00:00
Nick Burch
2fdaab8c35
ALF-611 Correct finding of compensating action for failed scheduled actions
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30553 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 16:53:29 +00:00
Nick Burch
3eed98f84a
ALF-9981 Due to Spring 3.0 SPEL running on FTL entries like ${foo} before they are passed as properties to beans, support an escaped form of \$\{foo\} which is un-escaped before being passed to the FreeMarker engine. Updates the template code for scheduled actions to un-escape, and the example action definitions to be escaped
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30551 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 16:02:25 +00:00
Kevin Roast
127ca27aa0
Fix for ALF-10326 - AVMToADMRemoteStorePatch fails with Duplicate child name not allowed: surf-config
...
- since fix for ALF-10280 rev 30468 a DuplicateChildNodeNameException no longer automatically retries in the txn - now throw out an exception that does retry instead.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30533 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 10:14:19 +00:00
Brian Remmington
e23edd49d4
Fix ALF-10328: Test disabled: TransferManifestTest
...
Fix ALF-10329: Test disabled: RepoTransferReceiverImplTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-15 07:53:59 +00:00
Nick Burch
878297316b
ALF-9981 Add unit tests for the selectSingleNode freemarker function used in the example scheduled action
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30512 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 15:34:19 +00:00
Brian Remmington
c3c68edc49
ALF-10132: FSTR is not working
...
- Fixes some problems with progress tracking and reporting. Still needs some work.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 09:58:41 +00:00
Kevin Roast
11eb432faf
Fix for ALF-8127 - Inconsistence between Create and Edit user page
...
- Last name no longer mandatory in Create User and associated pages
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 09:47:10 +00:00
Brian Remmington
c90ff1b526
Fix failing test: PublishingPackageSerializerTest
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30494 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-14 07:54:08 +00:00
Brian Remmington
6112a00691
ALF-10132: FSTR is not working, due to fault in TransferService
...
- Initial tidying and fixing-up during investigation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30491 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 19:41:51 +00:00
Mark Rogers
c9a7210e9d
ALF-10213 - Content rule is not applied to empty files, created via CIFS
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 16:24:49 +00:00
Derek Hulley
3914c77f50
ALF-10291: Test disabled: SOLRTrackingComponentTest (various)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30472 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:13:19 +00:00
Mark Rogers
ca11ba7b54
ALF-10200 - NodeMonitor: StringIndexOutOfBoundsException
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30471 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:01:40 +00:00
Mark Rogers
271595f862
ALF-10052 - Channel Exception when reading file
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 13:00:59 +00:00
Derek Hulley
e40265f1a1
Fixed ALF-10280: Slow to report « Duplicate entry » in database.
...
- DuplicateChildNodeNameException implements DoNotRetryException
- Must be merged back to V3.4
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30468 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 12:40:21 +00:00
Nick Burch
f0014de603
Expand the Calendar all-day event tests a bit more
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30467 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 11:11:02 +00:00
Nick Burch
a22263ccd4
Fix whole-day calendar detection test, and expand it to handle a few more cases too
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30453 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-13 08:50:10 +00:00
Brian Remmington
b94e282177
Publishing: Tidied PublishingService and ChannelService interface to remove obsolete operations.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30437 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 15:38:47 +00:00
Nick Burch
a48be26668
ALF-10204 Support for specifying the timezone (rather than just offset) for calendar entries when creating/editing, with tests, and use this to improve all day event storage/detection
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30436 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 15:38:38 +00:00
Derek Hulley
0902840a2b
Proper retrying during ReplicationServiceIntegrationTest teardown
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30430 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 14:04:01 +00:00
Steven Glover
5a689543ab
Fixed fallout from ALF-10189.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30422 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 12:14:05 +00:00
Derek Hulley
d112b6d218
Disabled test ArchiveAndRestoreTest.testAR7889ArchiveAndRestoreMustNotModifyAuditable
...
- Raised ALF-10271
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30417 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 09:00:05 +00:00
Frederik Heremans
d6c6c4ec5b
Activiti's BPMNParseListener now contains method that is called when all definitions have been parsed in a single deployment, allowing to change ProcessDefinition key for multi-tenancy, after process-diagrams have been generated.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30415 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-12 08:47:16 +00:00
Steven Glover
69d5e091e0
Fix for ALF-10189:
...
o Alfresco key store manages keys and backup keys internally
o moved key registration and checking into AlfrescoKeyStoreImpl
o encryptor thread cache fix resulting from reload of key stores at runtime
o more encryption and key store tests
o tidy up + more comments
o moved hard-coded values to properties file
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30405 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-11 12:09:24 +00:00
Andrew Hind
195ea9c810
Fix for ALF-10170 Implement "Do Nothing" search subsystem to aid QA testing
...
- there is now a "noindex" index subsystem
- has debug for all methods - method called and args
- has trace - adds call stack
log4j.logger.org.alfresco.repo.search.impl.noindex.NoIndexIndexer=fatal
log4j.logger.org.alfresco.repo.search.impl.noindex.NoIndexSearchService=fatal
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30403 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 20:15:50 +00:00
Derek Hulley
b0d88e65aa
ALF-10267: Test disabled: NodeServiceTest.testArchiveAndRestore
...
- Timestamp propagation causing incorrect test results.
Review node creation to ensure timestamp propagation doesn't run up to parents for no reason.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 17:11:49 +00:00
Derek Hulley
62ea9bf571
Fixed cm:auditable setting not being pushed the DB
...
- Changes were being put into the cache but missing an update trigger to push to the DB
- Fixes ALF-10224: Test disabled: GetChildrenCannedQueryTest.testPropertySorting
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30386 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 13:37:35 +00:00
Derek Hulley
06fcddedc1
Better debugging and toString() methods for GetChildCannedQuery (found while investigating ALF-10224)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30385 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 13:35:40 +00:00
Derek Hulley
e03abe5d16
Efficiencies during low-level setting of cm:auditable properties (found during ALF-10224 investigation)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30383 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 13:23:54 +00:00
Andrew Hind
661e8777f7
Last part for open cmis wire up ALF-10131 SOLR: CMISQueryServices (old and open cmis) broken with SOLR (was WCMQS does not work, error on the page)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30371 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 10:08:16 +00:00
Roy Wetherall
1b0c7a1047
ALF-4427: ScriptActionExecuter's 'script-ref' shouldn't be mandatory, at least not always
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30357 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-09 01:12:29 +00:00
Gavin Cornwell
5f14a5105b
ALF-10117: JBPM workflows should be hidden.
...
A new property "system.workflow.jbpm.definitions.visible" has been added, set to false by default. This means that when the JBPM engine is enabled (the default for upgrades) in-flight workflows can continue but the JBPM definitions will not be returned and therefore hide them from the UI preventing new instances from being created.
If customers want to show the JBPM workflows again all is required is to set the "system.workflow.jbpm.definitions.visible" property to true.
The Workflow MBean has also been updated to expose the new property and the Workflow admin console now displays the value.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30356 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-08 21:49:35 +00:00
Andrew Hind
af956b0064
Fix for ALF-10131: SOLR: CMISQueryServices (old and open cmis) broken with SOLR (was WCMQS does not work, error on the page)
...
- not enough to fix WCMQS against SOLR
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30345 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-08 14:15:00 +00:00
Derek Hulley
169f8349cd
ALF-10224: Test disabled: GetChildrenCannedQueryTest.testPropertySorting
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-08 06:37:58 +00:00
Derek Hulley
b9e75e353a
Tweaks around synchronization and use of Date
...
- synchronized lock state-change methods and covered one state change that wasn't sychronized
- Remove temp Date creation when long was adequate
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30330 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-08 05:24:19 +00:00
Derek Hulley
676056b4bd
AuditDAO test applications have GUID names; timestamp names may have caused overlap
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30329 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-08 04:45:16 +00:00
Derek Hulley
c5f4647c48
Merged DEV to HEAD
...
30321: ALF-10115: Working copies in repository upgraded to 4.0 does not get cm:original association - breaks document listing
In WorkProvider.getNextWork() method, changed type of results to Set<Pair<Long, NodeRef>>
to prevent duplicate nodes in the returned collection.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30322 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-07 14:36:56 +00:00
Derek Hulley
4f00e67d91
Added extra sleeps to ensure timestamp separation in tests (ALF-10024)
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30301 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-07 11:22:06 +00:00
N Smith
3a1e062836
ALF-9492 Can now update task properties through the Workflow JavaScript API.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30288 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-09-07 09:02:59 +00:00