It is now possible to specify a module.editions property (eg. community) which is checked by the MMT.
Also, the version is checked on install.
Also, started refactoring some of the code for better reuse.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33360 Merged BRANCHES\V4.0 to BRANCHES\DEV\V4.0-BUG-FIX
33325: Fix for ALF-12481 The share admin page for editing SOLR properties sets read only properties - The repository will not restart as they are persisted and then throw an exception when set
33356: Fix for ALF-12482 Files uploaded through JSF are not indexed - using solr
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33365 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
33119: Merge V3.4-BUG-FIX (3.4.8) to V4.0-BUG-FIX (4.0.1)
33099: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
ALF-10976 Excel files bigger than 2mb cause soffice.exe to take 100% of one CPU for more than 2 minutes in previews.
- Polish TransformerDebug
- Better config for txt and xlsx to swf
33095: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
ALF-10976 Excel files bigger than 2mb cause soffice.exe to take 100% of one CPU for more than 2 minutes in previews.
- Improvements to TransformerDebug so that calls to getTransformers use trace rather than debug level logging
allowing one to see the wood for the trees
33016: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
ALF-10976 Excel files bigger than 2mb cause soffice.exe to take 100% of one CPU for more than 2 minutes in previews.
- fix build errors - may not get all of them as not tested on Linux
33005: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
ALF-10976 Excel files bigger than 2mb cause soffice.exe to take 100% of one CPU for more than 2 minutes in previews.
- Disable transformers if the source txt or xlsx is too large - avoids transforms that don't finish
txt limit is 5MB
xlsx limit is 1MB
- Added a general 2 minute timeout added (ignored by JOD transformers - which already have a 2 minute timeout
and OpenOffice transformers - would require more work)
- Previous commit already limited txt -> pdf -> png so that only the 1st pdf page was created when creating a doclib icon
- Earlier commit already reduced the priority of the background Thread used for transformations so that user interaction
did not suffer.
33004: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
ALF-10976 Excel files bigger than 2mb cause soffice.exe to take 100% of one CPU for more than 2 minutes in previews.
- Added time, size and page limits to transformer configuration to allow one to avoid
costly transformations and to stop them if they do occur. Limits avoid a transformer being
selected if the source is too large, or make it throw and Exception or discard data after a given
time, KBytes read or pages created.
- Page limits currently only used by TextToPdfContentTransformer for thumbnail (icon) creation.
- Time, Size and Page limits are currently ignored by JodContentTransformer and OpenOfficeContentTransformerWorker
once running but the max source size limits may be used to avoid the selection of the transformer in the first
place.
- TransformerDebug added to be able to see what is going on. A real eye opener!
log4j org.alfresco.repo.content.transform.TransformerDebug
32136: ALF-10412 Nonreducing 100% CPU Uploading Large Files to Share Site Document Library
Reducing the priority of the async thread pool that is used to perform the transformations so that normal activity (and even garbage collection) is not interrupted by transformations.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33223 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
* Error will be displayed if user name left blank (or password null)
* Does not stop the server starting (only stops the values being reset)
* TODO investigate possibly related config update issue that was clouding the issue
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
It is possible that multiple database objects, e.g. indexes, match a given object as described in the schema reference file. This fix means that diffs will be provided against all the matching items, where previously only the first matching item was reported against.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
32832: Merged V3.4 to V3.4-BUG-FIX
32825: ImapMessageTest.testMessageModifiedBetweenReads() - should now be deterministic and not depend on which way the wind is blowing
- Got rid of message mangling and introduced proper multi-part message parsing
- We should ensure the updated message parses and is different rather than checking for a random concatenation throwing an IOException
32831: (RECORD ONLY) ALF-10828: Merged V3.4-BUG-FIX to V3.4
32541: Fix for ALF-11677 - Doing an HTTP POST to a repository webscript through the Share proxy fails on certain input
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32833 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Part 2 - refactor API + collateral damage
- Fix tracking tests to cope with the presence of background transactions - should fix Oracle build and other intermittent build failures
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
32456: (RECORD ONLY) Removed extraneous debugging
32538: ALF-12075: Merged DEV/TEMPORARY to V3.4-BUG-FIX
32476: ALF-11499: "The association source type is incorrect: " when trying to add extra documents to inflight workflow after upgrade to 3.2.0r and later
Patch that converts workflow package type and associations
32532: ALF-11499: "The association source type is incorrect: " when trying to add extra documents to inflight workflow after upgrade to 3.2.0r and later
1. Code comments
2. Removed potential catch of retryable exception
3. Removed unneccessary throw of PatchException
32541: Fix for ALF-11677 - Doing an HTTP POST to a repository webscript through the Share proxy fails on certain input
32712: ALF-12074 / ALF-10547: JMX settings lost after upgrade from 3.2.2 to 3.4.4
- MigrateAttrPropBackedBeanPatch now persists migrated data through the MBean interfaces (cluster and cache friendly) rather than going through the 'back door'
32734: ALF-12076: Fix ALF-11924 - HighlightFile after document upload in Share doclib
32738: ALF-11957: Merged PATCHES/V3.4.6 to V3.4-BUG-FIX
32617: ALF-11977 / ALF-11879: IMAP performance
- Fix node batch loading - batch load ContentData to avoid N+1 problem with content properties
- During cache preloading, use distinct transactions for each folder search, thus avoiding blowing the transactional caches
32619: ALF-11977 / ALF-11879: Fixed typo
32652: ALF-11977 / ALF-11879: Deactivate auto-versioning and auditing (and run as system) whilst setting magic IMAP aspect properties
32683: ALF-11978 / ALF-11915 iBatis synchronizes on the ClassInfo class during high concurrency
Similar change made to ibatis ClassInfo.java as was made to mybatis (in 4.0) for ALF-11894
src.diff is diff from new SVN location at http://mybatis.googlecode.com/svn/tags/java_release_2.3.4-726/ibatis-2-core hence the revision number changes
modified the pom to use Java 1.5 (1.6 does not work due to changes in abstract sql packages) and removed a plugin that no longer works
32788: ALF-12077: Fix for ALF-12050 - ensures that overly agressive caches won't cache Share PageView dynamic responses.
32818: Merged PATCHES/V3.4.6 to V3.4-BUG-FIX
32510: (RECORD ONLY) Merged V3.4-BUG-FIX to PATCHES/V3.4.6
32322: Possible fix for: (ALF-11344) SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- English based locales will sort as Java String comparison.
32411: Fix for ALF-11344 SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- use in memory sort rather than relying on the lucene field cache for result sets up to 1000 by default
- this is configurable across all query languages (and per query via SearchParameters and QueryOptions)
lucene.indexer.useInMemorySort=true
lucene.indexer.maxRawResultSetSizeForInMemorySort=1000
32425: Fix for ALF-11344 SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- fix for score sorting
32616: (RECORD ONLY) ALF-11849: Merged V3.4-BUG-FIX to PATCHES/V3.4.6
31653: ALF-8906: Ensure entire IMAP service startup transaction runs as system, to allow for any auto-aspect adding / versioning during cache warming
31676: ALF-8906: Fix IMAP unit test failures
32792: ALF-11894 / ALF-11915: Prevent contention in NodeService proxy by making NodeService_security proxy to a thread local!
- Use org.springframework.aop.target.ThreadLocalTargetSource
- Inventive or what?
32814: ALF-11894 / ALF-11915: Prevent contention in CMIS searches
- Rolled back previous fix because it didn't work!
- Patched ACEGI ConfigAttributeDefinition to use LinkedList rather than synchronized Vector to avoid contention on all NodeService accesses
- Created NonBlockingLazyInitTargetSource, again to avoid contention on all NodeService calls
32816: (RECORD ONLY) ALF-12072: Merged V3.4-BUG-FIX to PATCHES/V3.4.6
32788: Fix for ALF-12050 - ensures that overly aggressive caches won't cache Share PageView dynamic responses.
32819: Merged V3.4 to V3.4-BUG-FIX (RECORD ONLY)
32817: Merged PATCHES/V3.4.6 to V3.4 (3.4.7)
32510: ALF-11840: Merged V3.4-BUG-FIX to PATCHES/V3.4.6
32322: Possible fix for: (ALF-11344) SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- English based locales will sort as Java String comparison.
32411: Fix for ALF-11344 SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- use in memory sort rather than relying on the lucene field cache for result sets up to 1000 by default
- this is configurable across all query languages (and per query via SearchParameters and QueryOptions)
lucene.indexer.useInMemorySort=true
lucene.indexer.maxRawResultSetSizeForInMemorySort=1000
32425: Fix for ALF-11344 SORT clause in CMIS query (ORDER BY) drastically affects performance of search.
- fix for score sorting
32792: ALF-11978 / ALF-11915: Prevent contention in NodeService proxy by making NodeService_security proxy to a thread local!
- Use org.springframework.aop.target.ThreadLocalTargetSource
- Inventive or what?
32814: ALF-11978 / ALF-11915: Prevent contention in CMIS searches
- Rolled back previous fix because it didn't work!
- Patched ACEGI ConfigAttributeDefinition to use LinkedList rather than synchronized Vector to avoid contention on all NodeService accesses
- Created NonBlockingLazyInitTargetSource, again to avoid contention on all NodeService calls
32816: ALF-12050: Merged V3.4-BUG-FIX to PATCHES/V3.4.6
32788: Fix for ALF-12050 - ensures that overly aggressive caches won't cache Share PageView dynamic responses.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32821 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- so far unable to repeat either NPE (on Oracle or PostgreSQL)
- for Oracle - improve exception reporting (so next time we should get the correct line number) - note: requires more work to repeat/fix
- for PostgreSQL - guard against null (and avoid unboxing NPE)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32755 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261