Commit Graph

2384 Commits

Author SHA1 Message Date
Dave Ward
aac8f44c59 Merged V3.4-BUG-FIX to HEAD
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
2011-12-16 15:38:35 +00:00
Steven Glover
bf7181452c Fix for ALF-10826
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 18:09:53 +00:00
David Webster
ba9dcab4ab Japanese: Template updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 17:06:19 +00:00
David Webster
197170ec6a Dutch: translation updates (based on EN r32732)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32794 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 17:01:49 +00:00
David Webster
5da1dc1193 Italian: Translation updates.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 17:00:13 +00:00
David Webster
9983505cbf Japanese: Translation update based on EN r32732
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 12:18:19 +00:00
David Webster
1b192dd119 Japanese: Template updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-15 11:52:27 +00:00
David Webster
028f2d3cb3 German, Spanish and French updates: Fixes ALF-11023
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32754 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-14 10:49:28 +00:00
Dave Ward
3d77cab121 Merged V3.4 to HEAD (3.4.7)
32598: ALF-11522 IMAP: Generic AlfrescoImapFolderException error is a bit misleading
      Text was duplicated - previously modified text was not being used
   32690: Merged V3.4-BUG-FIX to V3.4
      32689: ALF-11603: Use different UIDVALIDITY values for different mounts of the same folder in IMAP to force client to fetch in both locations   
   32691: Merged PATCHES/V3.4.6 to V3.4
      32397: ALF-9878 / ALF-11727 CLONE - Pending Invite Search doesn't return anything if there's more than 1000 pending invites across all sites.
         Return first 200 invitations (similar to 4.0 paging)
         Transaction used by the invites.get is now read only so does not force a flush of caches.
      32404: ALF-9878 / ALF-11727 CLONE - Pending Invite Search doesn't return anything if there's more than 1000 pending invites across all sites.
         Removed read only transaction from invites.get.desc.xml as it broke InviteServiceTest testRejectInvite
      32501: ALF-9878 / ALF-11727: Reinstated read-only transaction around invites.get and prevented it from trying to lazily create persons from rejected invites that had previously been deleted by InviteHelper.cleanUpStaleInviteeResources!
      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
   32721: ALF-11913 Search in Explorer does not find documents found by Share
      Correct bug introduced by ALF-11435 'support for hidden files'
   32735: ALF-12021: Merged PATCHES/V3.4.5 to V3.4
      32513: ALF-11720: Merged HEAD to PATCHES/V3.4.5
         32330: Merged DEV to HEAD
            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)   
         32329: Fix ALF-11734: Concurrency conditions not handled correctly for ACL persistence
            - 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)   
         32381: Minor follow up on 32329: ALF-11734: Concurrency conditions not handled correctly for ACL persistence
            - Pessimistically throw away the node cache entry referencing the ACL   
   32737: ALF-9878: Reverse merged following revisions from failed hotfix - deferred to 3.4.8
      32397: ALF-11727 CLONE - Pending Invite Search doesn't return anything if there's more than 1000 pending invites across all sites.
         Return first 200 invitations (similar to 4.0 paging)
         Transaction used by the invites.get is now read only so does not force a flush of caches.
      32404: ALF-11727 CLONE - Pending Invite Search doesn't return anything if there's more than 1000 pending invites across all sites.
         Removed read only transaction from invites.get.desc.xml as it broke InviteServiceTest testRejectInvite
      32501: ALF-11727: Reinstated read-only transaction around invites.get and prevented it from trying to lazily create persons from rejected invites that had previously been deleted by InviteHelper.cleanUpStaleInviteeResources!

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32743 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-13 19:58:59 +00:00
Andrew Hind
e18d1961ab ALF-12013 All uses of SQL like need to be protected with <include refid="alfresco.util.escape"/> for SQL Server
- fixes failing GetChildrenCannedQueryTest test for SQL Server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32730 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-13 14:44:08 +00:00
David Webster
c8d10f68ae Japanese: Translation updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-13 14:16:38 +00:00
Gethin James
e290efbb63 OPEN : ALF-11176: Untranslated strings in Group Review and Approve Task form
Activiti has one default transition "Next".  If there is no transition then the model builder was not finding a translation for the task outcome (and just using the english word, e.g. "Approve").  Now it looks up the translation workflowtask.outcome.[wf:outcome property]

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32724 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-13 13:14:03 +00:00
Roy Wetherall
dc665385f5 ALF-11463: Dutch - Localised Templates
* Dutch email templates added
  * Patch added

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32715 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-13 01:18:31 +00:00
Matt Ward
cc28ee3413 ALF-11670: Add autoincrement boolean property to columns
Columns now have a property to describe whether it has been defined as an auto-increment column, e.g. AUTO_INCREMENT for MySQL. The property is persisted in XML reference files, loaded from XML reference files and compared between schemas.

The MySQL reference file has been updated to include autoincrement values.




git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32711 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-12 18:28:10 +00:00
Roy Wetherall
a8905cc4c3 Expanded email template ACP's
* makes maintenance of emails much easier
  * acps replaced with xml import files referencing content kept on classpath
  * relates to ALF-11463

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-12 03:05:26 +00:00
Gethin James
cbd56c1bc1 RESOLVED : ALF-9981: Impossible to start an schedule action
Just added a comment

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32682 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 16:42:46 +00:00
David Webster
121d402dcb Dutch: Translation update.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32680 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 16:37:29 +00:00
Dave Ward
bb62b42981 ALF-11957: Corrected mybatisification
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32676 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 13:41:00 +00:00
Dave Ward
658e968320 ALF-11957: Merged PATCHES/V3.4.6 to HEAD
32617: 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-11879: Fixed typo
   32652: ALF-11879: Deactivate auto-versioning and auditing (and run as system) whilst setting magic IMAP aspect properties


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 12:54:10 +00:00
David Webster
ce7f4f8345 Italian: Translation update based on EN r32522
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 12:24:17 +00:00
David Webster
b7c0d7b7bd Germain: translation updates, fixes: ALF-8628
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-09 12:22:40 +00:00
Derek Hulley
25382b991f Merged DEV to HEAD: Cache write optimizations
- Refix ALF-10665: Caches that use @@VALUE_NOT_FOUND@@ are not really immutable
 - Add NodeBulkLoader.setCheckNodeConsistency
   - Use in a transaction to ensure that the node cache views are consistent with
     the database views.
 - Increase size of contentDataCache and make it support equals checking
 - Details:
   32162: Read-through cache changes
   32163: TransactionalCache changes to support more efficient consistency guarantees
          - 'allowEqualsCheck' property allows cache to do a full equals check against changed shared cache values
          - In-transaction option 'setDisableSharedCacheReadForTransaction'.  Values are cache in-transaction
            and written back at the end of the transaction (subject to collision rules) but the first read will
            not go to the shared cache.
          - Drop optimistic write-through in read-only transactions; they are equally likely to want to flush
            stale data.
          - Add simpler logic for mutable and allowEqualsCheck and make sure all conditions are covered by tests
   32164: Cache node entity support TransactionalCache's allowEqualsCheck
   32165: Add NodeDAO.setCheckNodeConsistency() method
          - Allows code to request that node metadata is consistent with whatever view the DB is providing
          - Incorporate into node concurrency tests without issue
          - Only one cache is affected (nodesCache) and it is enhanced by having 'allowEqualsCheck' to prevent
            massive flushing when multiple read transactions are all trying to push data into the shared caches,
            particularly during (re)indexing operations.
          - Further reduces the cache invalidation messages required in order to maintain consistency across
            the cluster
   32166: Make Lucene reindex work (trackers and FTS) use enforced node consistency
          - bulkLoader.setCheckNodeConsistency() incorporated where 'isReadThrough' is on
   32167: SOLR tracking uses NodeDAO.setCheckNodeConsistency() during node metadata retrieval
          - Ensures that any stale node metadata does not find its way into indexed SOLR node metadata
   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
   32208: Better hashcode for NodeVersionKey
   32209: RECORD ONLY
   32210: RECORD ONLY
   32212: Proper fix for ALF-10665: Immutable caches do not respond well to null (=> @@VALUE_NOT_FOUND@@)
          - The following caches were incorrectly classed as 'immutable':
               propertyValueCache
               immutableEntityCache
               rootNodesCache
               allRootNodesCache
               authorityCache
               tagscopeSummaryCache
               imapMessageCache
          - The 'immutable' caches are:
               node.aspectsCache
               node.propertiesCache
               node.parentAssocsCache
          - The following caches support equals checks:
               node.nodesCache
               authorityLookupCache
   32213: Fixed getNodeRefStatus(): nodesCache caches deleted entries as well.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32657 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-08 23:51:36 +00:00
Derek Hulley
ebbfc644ec Further to ALF-11546, update the schema reference files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-08 12:11:33 +00:00
Andrew Hind
e126c62e04 ALF-11546 Tracking queries on alf_transaction table do not have an upper bound
- Part 1: fix indexes to support query

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32635 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-08 11:37:31 +00:00
David Webster
cfae57c1d6 French: Translation update. Fixes: ALF-11881, ALF-11882, ALF-11883, ALF-11884, ALF-11885, ALF-11886, ALF-11889, ALF-11890, ALF-11891
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-07 16:59:47 +00:00
Brian Remmington
ff912e606b Fixes ALF-10846: A system error happened during the operation: Error while evaluating expression.
- A simple fix whereby the task is routed to admin if the initiator of the process no longer exists. Since the affected tasks are simply a courtesy to the initiator to inform them that the work was done, it seems churlish to prevent the assignee from ending the task if the initiator has been removed from the system. Other, more complex, alternatives were considered including adding a gate to route the process directly to "end" if the initiator no longer existed, but it seemed overkill, really.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32605 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-07 15:46:58 +00:00
Derek Hulley
4eccacfa12 Pulled configurable OpenCMIS properties out of Spring context and some minor formatting
# OpenCMIS
 opencmis.connector.default.store=${spaces.store}
 opencmis.connector.default.rootPath=/${spaces.company_home.childname}
 opencmis.connector.default.typesDefaultMaxItems=500
 opencmis.connector.default.typesDefaultDepth=-1
 opencmis.connector.default.objectsDefaultMaxItems=10000
 opencmis.connector.default.objectsDefaultDepth=100
 opencmis.connector.default.openHttpSession=false


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-07 12:57:25 +00:00
David Webster
514af39053 Japanese: Translation updates
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32592 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-07 10:10:10 +00:00
Gethin James
0623ca5963 FIXED : ALF-9981: Impossible to start an schedule action
Bug fixed in Spring 3.0.4 so we no longer need the FixedPropertyPlaceholderConfigurer class


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32559 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-06 11:02:17 +00:00
David Webster
bd9334fcfa Spanish: Fixes ALF-11770.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32542 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-05 16:10:25 +00:00
David Webster
bae80cd121 Italian: Translation updates based on: EN r32316
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32483 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 15:20:03 +00:00
David Webster
db641042a5 French: Translation updates based on: EN r32316
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32482 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 15:17:59 +00:00
David Webster
7560d2f4e8 Spanish: Translation updates based on: EN r32316
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32481 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 15:16:09 +00:00
David Webster
da56028931 German: Translation updates based on: EN r32316
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32480 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 15:14:37 +00:00
Dave Ward
90a78359bd Merged V3.4-BUG-FIX to HEAD
31682: Fix for ALF-9504 - Upload non-flash fallback fails
      Merged HEAD to V3.4-BUG-FIX
         31065: Fixed ALF-10407 "Share HTML uploader broken in Swift"
   31738: merged DEV to V3.4_BUG_FIX
     31681 : ALF-7859 - Deployment fails for *.xml content with wcm-xml-metadata-extracter-context.xml enabled
   31755: Fix for ALF-9257: merged in and optimised Belarus fix.
   31775: Fixed ALF-10667: WCM - Validation issue with xf:switch web forms
   31817: Spanish: Updates translations (based on: r31738) & adds new WCM translations.
   31840: Fix for ALF-10282 - Web Browser freezes with large xml files Web form transformation
   31843: ALF-9208 Performance issue, during load tests /share/page/user/user-sites is showing to be the most expensive.
      Modification to AuthorityDAOImpl.findAuthorities(...) to use childAuthorityCache when possible
      Big improvement to 'My Sites'
   31850: Italian: Translation updates, inc. fix for: ALF-11293.
   31867: Merged DEV/TEMPORARY to V3.4-BUG-FIX
      31400: ALF-10764: PDF vs 1.5 cause crash jvm
         - PDFRenderer library has been updated from 2009-09-27 to 0.9.1 version to support PDF documents of 1.5 version
   31906: ALF-9545: Adjust date picker for IE
   31911: Merge PATCHES/V3.3.3 to V3.4-BUG-FIX (3.4.7)
      31905: ALF-10309 CLONE -WebDAV - Cancelling "save as" upload will create 0 byte content
         - Run Timer as the original user
         - Run timer if there is a LOCK timeout (not run if not so not to break standard. MS Office uses a 3 minute timeout)
         - PUT method clears aspect BEFORE it starts processing the content, so that the Timer does not remove the node if the content is very large
         - Delete node faster (than the Timer) if the client issues an UNLOCK, having locked the node but not issued a PUT. 
         - Lots of debug
      31708: ALF-10309 CLONE -WebDAV - Cancelling "save as" upload will create 0 byte content
          'runAsSystem' the 5 minute timer to remove LOCKED but not PUT WebDAV files 
      31698: ALF-10309 CLONE -WebDAV - Cancelling "save as" upload will create 0 byte content
          Added 5 minute timer to remove LOCKED but not PUT WebDAV files 
      31687: ALF-10309 CLONE -WebDAV - Cancelling "save as" upload will create 0 byte content
          Added missing sys:webdavNoContent aspect to system model.
   31913: Merge PATCHES/V3.4.1 (3.4.1.22) to V3.4-BUG-FIX (3.4.7)
      31876: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Use a retrying non-propagating (new) transaction to get the licence key in order to avoid intermittent issues.
   31929: Merged BRANCHES/DEV/BELARUS/V3.4-BUG-FIX-2011_11_09 to BRANCHES/DEV/V3.4-BUG-FIX
       31903: ALF-9971: RM search doesn't work with NAME:any_text: Check for dublicate template of properties was added. Throws an exception if there is already an entry in the map entry.
   31931: ALF_9678 Fixed null pointer issues in WorkflowManager methods
   31938: Merged DEV to V3.4-BUG-FIX
      31932: ALF-9566: hasMoreItems always false in CMIS query (Web Service binding)
             1. PropertyFilter was fixed to be able to handle OpenCMIS Workbench. Unit test was updated.
             2. hasMoreItems was adopted to indicate whether more itemsa are avliable in the repo based on maxItems and skipCount. Unit test was added.
             3. CMISFolderTypeDefinition was fixed to be fileable according to 2.1.5.1 File-able Objects.
   31965: German: Translation updates and additions based on EN r31738
   31967: French: Translation updates and additions based on EN r31738
   31969: Spanish: : Translation updates and additions based on EN r31738
   31971: Italian: Translation updates and additions based on EN r31738
   31972: Fix for patch 'alternatives': Alternative patch must have executed and not just been marked as successful
   31973: Fixed ALF-11489: 'patch.sitesSpacePermissions' failed on upgrade 2.2.8 -> 3.4.6
    - 'patch.sitesFolder' is an alternative to 'patch.sitesSpacePermissions'
    - Note: Requires rev 31972 for fix to PatchService use of alternatives
   31994: ALF-11495 CLONE - Enterprise unlimited licenses still get invalidated turning the system into read-only mode
      - Replaced DescriptorDAORetryingInterceptor (add in the hotfix) with a RetryingTransactionInterceptor 
   31999: Change the low level CIFS packet reading code to read/process up to 4 requests per thread run. ALF-9540
   Reduces thread blocking when the CIFS client uses overlapped I/O, and also keeps writes in their original sequence.
   32037: Japanese: Translation update, new and modified strings based on EN r31738
   32061: ALF-11376 Requesting PDFBox 1.6 be included in future service pack release. 
      Upgrading pdfbox,fontbox,jempbox from 1.5.0 to 1.6.0
   32074: ALF-11522 IMAP: Generic AlfrescoImapFolderException error is a bit misleading
      "Can't create folder - Permission denied" --> "Cannot perform action - permission denied"
   32086: ALF-9971 RM search doesn't work with NAME:any_text
      - fix to test failure to do with upper case defaultFieldName finding nothing
   32093: Merged BELARUS/V3.4-BUG-FIX-2011_10_13 to V3.4-BUG-FIX (3.4.7)
      Plus a little bit of refactoring to remove duplicate code
      31490: ALF-9817: IE strips exe extension on download file when using download url with ticket parameter in code  
         The "filename" part for "Content-Disposition" header in case of "attachment" for IE
   32115: ALF-11569: Merged V3.3 to V3.4-BUG-FIX
      32108: ALF-11571: Fix new deadlock in NIO CIFSRequestHandler
         - Needed to be able to get a thread safe estimate of the number of registered sessions without synchronizing on m_selector.keys() because a lock is held by the selector whilst waiting
         - Now the session count is maintained by the main thread, which is woken by anything wanting a session count.
   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. 
   32143: MERGED 2011_11_09 to V3.4-BUG-FIX
     32133 - ALF-11193 Consumer role cannot Unscribe/subscribe the IMAP folders.
     32137
   32152: Merged BRANCHES/DEV/BELARUS/V3.4-BUG-FIX-2011_10_13 to BRANCHES/DEV/V3.4-BUG-FIX:
      31731: ALF-6275: Discrepancy detected on archived pivot language with EditionService
   32171: ALF-9638: Version2ServiceImpl now freezes aspect specific associations, in line with VersionServiceImpl
   32191: Merged DEV to V3.4-BUG-FIX
      32187: ALF-10884: A file renamed using the web UI still appears in a NFS mount but with NULL stats
             - Timestamp propogation in case of move
             - getPaths() call removed from the NodeMonitor
   32192: Reversed out rev 32143: ALF-11193: Consumer role cannot Unscribe/subscribe the IMAP folders. 
    - Patch is using SearchService
    - Patch doesn't transfer IMAP 'unsubscriptions'
    - Patch will not scale
   32211: Merged V3.4 to V3.4-BUG-FIX
      31914: ALF-10619: Not all container deletions were being honoured during indexing due to deletionsSinceFlushed processing
         - If container B is under container A with a secondary association, and A then B were deleted, then not all of Bs containers were getting masked out - only those in a subtree of A!
         - Now that delete events are fired on every affected node in a cascading delete, we can handle the nodes and containers on an individual basis
      31915: ALF-10619: Prevent possible InvalidNodeRefException during reindexing
         - Handle in childRelationshipEvent() when comparing with 'path generation factor'
   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.
   32327: ALF-11495: Merge V3.4.1 (3.4.1.23) to V3.4-BUG-FIX (3.4.8)
      32326: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         MaxUserLicenseException class was not added to SVN in previous commit
      32325: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Remove RetryingTransactionInterceptor from around RepositoryDescriptorDAOImpl - not needed any more and caused extra exception if repo was r/o on boot
      32324: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Addition of message to say temporary problem has gone away
      32323: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Think I have found the reason for the vanishing licenses.
         License Descriptor can be accessed but the file in the content store cannot be read.
         Tidy up of code to remove TODO messages
         Addition of MaxUserLicenseException
         Additional code to handle possible temporary license outages and recovery
         Addition of more specific exception of invalid content store issue
      32326: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         MaxUserLicenseException class was not added to SVN in previous commit
      32288: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Fix tests by still failing if we have not loaded a license yet
      32259: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Ignore exceptions from debug after RepositoryDescriptorDAOImpl Throwable
      32252: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Addition of logging and keep license live after error
   32343: FIXED - issue ALF-11617: wma file type is mapped to 'video/x-ms-wma' mimetype instead of audio/x-ms-wma'
   Changed the type audio/x-ms-wma
   32346: Fixed query use-case lookup of assoc namespace entity (i.e. should not lazily create)
    - Does not need merging to 4.0, which contains the fixes already
   32349: Merged V3.3 to V3.4-BUG-FIX
      32347: Prevent possible deadlock during subsystem syncing in a cluster
   32352: ALF-11495: Merge V3.4.1 (3.4.1.23) to V3.4-BUG-FIX (3.4.8)
      PLEASE NOTE that ALF-11381 was also merged into V3.4-BUG-FIX in r32327 
      32350: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Patched version of true license to log RunTimeExceptions and Errors from both ftp and non-ftp LicenseManager verify methods
      32332: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         Cannot throw specific Exception for the file reader issue as returning null is required for FTL
   32356: ALF-11495: Merge V3.4.1 (3.4.1.23) to V3.4-BUG-FIX (3.4.8)
      32355: ALF-11381 Enterprise unlimited licenses still get invalidated turning the system into read-only mode
         TrueLicense missing from classpath.unit.test.extension
   32387: ALF-11617 Correct mimetype for WMA audio (with patch)
   32395: ALF-11004 Workflow Interpreter can now handle transitions with spaces in the name when 'signal' is called.
   32398: ALF-11078: Reinstate maxPermissionChecks logging from ALF-7237
   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
   32433: Merged V3.4 to V3.4-BUG-FIX
      32432: ALF-11743: When RM is installed, admin does not have the appropriate permissions to perform any operations in Alfresco Explorer


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32477 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 14:25:48 +00:00
Mark Rogers
002c09faac ALF-11725 - Replication document with comment fails due to integrity exception
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32459 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-02 09:48:25 +00:00
Mark Rogers
71af02a775 ALF-10980 CLONE - Opening and closing (not save) MS Project file via CIFS adds new version
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-12-01 16:06:34 +00:00
Matt Ward
3fab4ea0d6 ALF-7260: schema comparator - improved language of reporting.
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
2011-11-30 17:57:02 +00:00
Roy Wetherall
3d13f43826 ALF-11514: ALL LANG - Following_email Templates updated/localised
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32412 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-30 12:42:52 +00:00
Derek Hulley
7a7f42743e End-of-life for several 2.1 and 2.2 patches
- 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
2011-11-29 17:53:02 +00:00
Gethin James
52b05d1e25 Merged BRANCHES/DEV/V3.4-BUG-FIX to HEAD:
32387: ALF-11617 Correct mimetype for WMA audio (with patch)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32393 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-29 15:08:33 +00:00
Steven Glover
ea53ffea50 Merged BRANCHES/DEV/V3.4-BUG-FIX to HEAD:
32244: Fix for ALF-11435:
   32246: Fix for ALF-11435 (part 2)
   32247: Fix for ALF-11435 (part 3)
   plus make sure that hidden files have the noindex aspect applied

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32388 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-29 14:28:39 +00:00
Derek Hulley
c8c30b2ef1 Applied confirmed fix for ALF-11215: Failed to apply patch.siteLoadPatch.swsdp during upgarde from 3.0.1 to Swift Enterprise
- 'patch.siteLoadPatch.swsdp' depends on 'patch.updateDmPermissions'


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32382 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-29 11:47:05 +00:00
Matt Ward
c6f4ac8b57 ALF-11722: Error fails when try to log in as disable tenant
* Added DisabledTenantException error
* Changed ExceptionTranslatiorMethodInterceptor to translated the above exception into an AuthenticationException



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32353 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-28 15:53:03 +00:00
Derek Hulley
a028484138 RetryingTransactionInterceptor for WCM services (using fixed interceptor)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32351 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-28 13:44:21 +00:00
Derek Hulley
16d0d0e786 Fixed ALF-11201: CMIS ignores user login and runs as 'admin' sometimes
- 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
2011-11-27 20:55:29 +00:00
Derek Hulley
ec242b6090 Merged DEV to HEAD
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
2011-11-27 20:09:57 +00:00
Jan Vonka
e60dc76152 Merged BRANCHES/DEV to HEAD:
32284: MT/Solr: fix intermittent "My Favorites"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32315 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-25 15:26:51 +00:00
Kevin Roast
aec3763677 4.0 localization updates against rev 32048
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32307 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-25 11:42:34 +00:00
Matt Ward
6888d00cc3 ALF-11668: updated schema reference for MySQL to include order attributes.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32297 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-24 18:36:59 +00:00