3336 Commits

Author SHA1 Message Date
Gavin Cornwell
1c20bf7ded Merged BRANCHES/V3.4 to HEAD:
24143: Fixed licence header

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@24153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-12-02 11:32:28 +00:00
Derek Hulley
0fdc397234 Merged V3.4 to HEAD
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
2010-12-01 12:23:25 +00:00
Brian Remmington
ad0104be9b Merged BRANCHES/V3.4 to HEAD:
23712: Fixed up fault in unit test introduced by earlier tweaks to the transfer service

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23714 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-16 21:18:51 +00:00
Brian Remmington
06a204c13f Merged BRANCHES/V3.4 to HEAD:
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
2010-11-16 17:26:48 +00:00
Brian Remmington
3419d5b067 Merged /BRANCHES/V3.4 to HEAD:
23464: Reinstate transfer test of greek paths.
      - Manifest was being written by FileWriter() which would use default character set.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23662 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-11-16 08:00:52 +00:00
David Caruana
3a3b743f18 Merged BRANCHES/V3.4 to HEAD:
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
2010-11-10 10:38:35 +00:00
Dave Ward
6e66b9ad06 Merged V3.3-BUG-FIX to HEAD
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
2010-11-03 19:28:21 +00:00
Neil McErlean
5d64dbc3e3 Merge from V3.3-BUG-FIX to HEAD
23315: Merge from V3.3 to V3.3-BUG-FIX
    23312: Adding explicit test case for ALF-3991.
    23313: Adding some new test classes to the convenience suite AllRenditionTests.java


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23331 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-28 21:10:52 +00:00
Neil McErlean
d1db3663e4 Fix for ALF-5373 Renditions being generated to the same location (e.g. through use of paths/templates) can lead to incorrect renditions/exceptions.
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
2010-10-28 21:00:32 +00:00
Dave Ward
f1d8da31b7 Merged V3.3-BUG-FIX to HEAD
23319: Merged V3.3 to V3.3-BUG-FIX
      23318: Merged PATCHES/V3.2.0 to V3.3
         23317: ALF-5141: Fix unit test failure
            - Hopefully bullet-proof thread synchronization.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23320 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-28 00:06:12 +00:00
Nick Burch
0357a73cab Disable the multi threaded tagging test, which sometimes fails on bamboo, but never on workstations. Derek and I now hopefully have enough debugging logs to get to the bottom of this one, so we can stop it periodically breaking the build for now!
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23316 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 21:18:33 +00:00
Nick Burch
46f2687483 Tweak a very old unit test for ETHREEOH-220 as advised by Derek, by wrapping one part in a retrying helper
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23299 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 12:09:41 +00:00
Neil McErlean
2c64a45a44 Further fix for ALF-3991. Thumbnail generation modifies the source document auditable properties.
There were a couple of code paths missed in the previous check-in for this issue.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23290 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-27 08:01:50 +00:00
Derek Hulley
38dd0ad972 Reverted ALF-1990 and reopened for later fix:
23266: Fix enabler for ALF-1990: BatchProcessWorkProvider calls are made in new, read-only transactions
   23267: ALF-1990: Use NodeService to find nodes to purge


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 16:18:43 +00:00
Nick Burch
45b5fb977b More debugging level logging for tagging updates, to help identify the problem with periodic multi-threaded test failures on bamboo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23283 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 14:41:06 +00:00
Derek Hulley
b0a43c462d Fix ALF-1990: Use NodeService to find nodes to purge
- Ensures that results are consistent with underlying background deletes
 - Needs separate read transactions for the getNextWork calls


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23267 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 08:12:09 +00:00
Derek Hulley
7ac35ae7fd Fix enabler for ALF-1990: BatchProcessWorkProvider calls are made in new, read-only transactions
- Allows work provider to have visibility of changes made by worker threads
 - Prevents large queries from being held by the controlling transaction


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23266 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-26 08:06:55 +00:00
Dave Ward
bcf40763a3 Merged V3.3-BUG-FIX to HEAD
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
2010-10-25 14:30:27 +00:00
Nick Burch
2709b5fe47 Add a (currently disabled) unit test for how the rendition service handles nodes already being there / not there when running a rendition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23248 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-25 11:22:28 +00:00
Andrew Hind
d6ab28e189 Fix for ALF-5032: findAuthorities() getting slow when many groups are created.
- moved to PARENT driven queries where possible in preference to PATH

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23246 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-25 09:40:00 +00:00
Derek Hulley
1856b4eeae Fail earlier and more explicitly if 'Scheduled Actions' is not available
- Avoid null NodeRef being passed around
 - Looking at http://forums.alfresco.com/en/viewtopic.php?p=102856


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23242 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 23:42:59 +00:00
Derek Hulley
f48288b5a5 Tweaks for ALF-4529: Database connection problems when upgrading large sample 2.1.x data set
- Handle invalid child association QNames
 - Optimization on an array copy


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23238 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 20:21:10 +00:00
Derek Hulley
f2f318b89b Batch-enabled perf. tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23237 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 20:19:28 +00:00
David Caruana
0789dd7f76 Resolve ALF-5261: It is impossible to view local and remote reports for successfully run job
- regression after ActionTrackingServiceImpl refactoring of action status persistence

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23230 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 14:58:19 +00:00
Jan Vonka
ada7e349d6 For MySQL, replace remaining TYPE=InnoDB with ENGINE=InnoDB
- also fix for generated SQL (ie. JBPM)
- enables bootstrap on MySQL 5.5 rc (note: untested / unsupported)
- see http://forums.alfresco.com/en/viewtopic.php?f=8&t=26674
- re: ALF-4996

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23228 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-22 14:01:26 +00:00
Nick Burch
498a6cda70 Add a bit more debugging into the multi threaded tagging test, so if it fails again we'll have a better idea of what is different on bamboo
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23211 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-20 14:16:33 +00:00
Nick Burch
eef6a3fc3f Push out multi threaded sleeps, as the post-transaction-commit hooks seem to take longer on some machines than you might expect
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23208 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-19 12:25:29 +00:00
Neil McErlean
97852b060b Disabling 4 test cases which are currently failing. I will re-enable these tests later today once I have fixed them. They are new test cases and I believe they relate to anticipated changes in the internals of the RenditionService, so I think it is reasonable to disable them.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23196 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-18 10:15:44 +00:00
Mark Rogers
0e7be1b1bd Temp comment out of ImapMessageTest (The test or the code is not wrong but the IMAP server is not running in the automated build.)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23195 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-18 10:11:50 +00:00
Derek Hulley
09df474ff1 Fixed file handle leak on version.properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23193 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-18 09:21:07 +00:00
Dave Ward
043c9419dc Merged V3.3-BUG-FIX to HEAD
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
2010-10-18 09:07:11 +00:00
Nick Burch
8bfc88b8d6 Wire in the asynchronous action service OnAsyncActionExecute policy (policy was previously defined but not active)
Update the tagging service tests, and some of the action tracking service tests to wait on the policy firing instead of using Thread.sleep


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23188 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-18 05:24:03 +00:00
Derek Hulley
7442465407 Merged V3.3-BUG-FIX to HEAD
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
2010-10-17 21:54:10 +00:00
Derek Hulley
f0fe5e76fe Permission checks for Pair<Long, NodeRef> and nascent NodeService search API (not implemented).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23185 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-17 21:19:35 +00:00
Nick Burch
e33eef3197 Stub out two new rendition unit tests, which are to be written shortly
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23170 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 16:56:41 +00:00
Dave Ward
a15c91c0fa Merged DEV/TEMPORARY to HEAD
23160: ALF-4720: Hardcoded folder names in new scheduled persisted actions bootstrap
      Getting of "Scheduled Actions" is done using getChildAssocs() method.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23168 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 16:50:34 +00:00
Dave Ward
e0b40d177f Merged V3.3-BUG-FIX to HEAD
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
2010-10-15 15:43:21 +00:00
Mark Rogers
4240e7d2dc ALF-4936 - implementing transfer lock timeout.
Also reworked Replication Action Executor timeout code.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23155 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 14:59:14 +00:00
Nick Burch
c47322b28e When updating tag scopes following system shutdown/restore, be smarter about quickly skipping tag scopes that another (new) thread is currently working on
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23153 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 14:54:46 +00:00
Nick Burch
1d93411944 Add comment to explain the throws line
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23151 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 14:51:13 +00:00
Neil McErlean
4c20220a80 Refactor of RenditionService internals.
RenditionNodeManager and calling code.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23144 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 14:00:53 +00:00
Derek Hulley
240fc47a92 Comment out failing test
- Unit test triggers background tasks that need to be verified
   i.e. the test could be finding an issue or perhaps it's a timing issue


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23128 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 10:25:24 +00:00
Mark Rogers
968933de37 Bug fix for case where commit failed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23127 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-15 08:41:09 +00:00
Derek Hulley
7d543fe05f Fix ALF-4529: Database connection problems when upgrading large sample 2.1.x data set
- Range-based query to drive WorkProvider
 - Added support for sparse datasets
 - Added range-limiting and other parameters: use in the event of unevenly distributed IDs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23118 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:59:35 +00:00
Derek Hulley
70a50b2e1c Propagate exception
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:54:59 +00:00
Derek Hulley
c1a2fa2516 Javadoc addition
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 15:53:52 +00:00
Andrew Hind
4371c1db69 Fix for ALF-1810: Lucene locks out all traffic during backups
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23100 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 14:09:48 +00:00
Jan Vonka
6cde9bdd2b Resolve ALF-5079 - NodeDAO: add missing aspects regress (when aspect has same name as assoc)
- note: was "MT: attempt to create new tenant after upgrade from pre-3.4 fails"

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23091 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-14 10:27:36 +00:00
Nick Burch
5aa58d6b6e When listing the transformers for a given mimetype via the /mimetypes webscript, detect and report if a proxy transformer uses openoffice
Also tweak the Tika .xls transformer for .html to be a higher priority


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23078 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 14:05:05 +00:00
Nick Burch
2d7ac6bf91 Add diagnostic webscript /alfresco/service/mimetypes
Lists all defined mimetypes, what metadata extractor is registered for them, what transformers exist that can generate that mimetype, and what transformers exist that will generate from that mimetype


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23076 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-10-13 13:35:12 +00:00