122467 dhulley: Add back missing code for MNT-12716 in order to address ACE-5143 correctly
- MNT-12716: 3.4 -> 4.2 Upgrade does not migrate locales of translated documents
- ACE-5143: CLONE - CleanAlfPropTables deleting more than it should
- The move of the SQL execution framework to a ScriptExecutor seems to have dropped the feature allowing --ASSIGN to have a default value
- Added back the feature
- Added check of variable assignment with system message giving details e.g.
Caused by: ... Variable assignment '--ASSIGN:PROP_DOUBLE_MAX_ID' produced no value. A default can be assigned e.g. '--ASSIGN:PROP_DOUBLE_MAX_ID!-1'. (line 80 of ...\CleanAlfPropTables.sql).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123661 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120968 amorarasu: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120952 aleahu: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.4)
120889 amukha: Merged AMUKHA/MNT-15398 (4.2.6) to V4.2-BUG-FIX (4.2.6)
120887 amukha: MNT-15398: Supportability - warn about MS-SQL server mis-configuration
- Added a check for the db.txn.isolation to be set to 4096 for the MS SQL Server dialect.
- Used the message bundle for all logger messages.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123636 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120102 nsmintanca: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120042 gjames: Merged MNT-15211 (5.0.4) to 5.0.N (5.0.4)
119705 gjames: MNT-15211 Restoring data from Trashcan with MySQL Cluster NDB backend doesn't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123608 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
120101 nsmintanca: Merged 5.0.N (5.0.4) to 5.1.N (5.1.1)
120041 gjames: Merged MNT-15211 (5.0.4) to 5.0.N (5.0.4)
119608 gjames: MNT-15211 Restoring data from Trashcan with MySQL Cluster NDB backend doesn't work
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123607 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
113586 tvalkevych: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113508 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
113395 tvalkevych: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
113371 amorarasu: Merged DEV to V4.1-BUG-FIX (4.1.11)
113345: MNT-10305: DeletedNodeCleanupWorker should be improved.
- Fixed the starting time for the purge old nodes process.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123579 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
113397 tvalkevych: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113290 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
113278 adavis: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
112985 amorarasu: Merged DEV to V4.1-BUG-FIX (4.1.11)
111742: MNT-10305: DeletedNodeCleanupWorker should be improved
- Delete in multiple statements, filtering by transactions with commit time in a time interval.
112722: Improved the algorithm that sets appropriate time windows for delete, based on the evolution of the purge process.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@123576 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
119029 adavis: Merged 5.1.N (5.1.1) to 5.1-MC1 (5.1.0)
116130 adavis: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
115965 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
115823 arebegea: MNT-14887 : Rework ChainingUserRegistrySynchronizer's methods that uses RetryingTransaction with 'requiresNew=true'.
- removed the code that deleted the older property value that may have been present when updating a value.
- fixed the tests from RepoUsageComponentTest.java
- updated the authorised-users jar with the version that uses the attributeService again.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@119867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115572 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
114988 rmunteanu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1) (PARTIAL MERGE)
114790 amorarasu: MNT-15007: CLONE - String values when migrating from MySQL to other DBs
Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3)
114311 amorarasu: Merged V4.1-BUG-FIX (4.1.11) to V4.2-BUG-FIX (4.2.6)
114245 tvalkevych: Merged V4.1.9 (4.1.9.13) to V4.1-BUG-FIX (4.1.11)
113717 dhulley: MNT-14911: String values when migrating from MySQL to other DBs
- Add a new job that allows node string values to be re-persisted according to the current 'system.maximumStringLength' value
- Job is unscheduled by default
- Set the 'system.maximumStringLength' and the 'system.maximumStringLength.jobCronExpression'
- Various touched code format fixes, method naming fixes, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115461 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
113729 amorarasu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113704 adavis: Fix build error after
Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
113603 cturlica: Merged DEV to V4.2-BUG-FIX (4.2.6)
113602 cturlica: MNT-14504: Cloud pull process not working after large delete
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115671 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
115460 adavis: Merged 5.1.N (5.1.1) to 5.1-MNT1 (5.1.0)
113727 amorarasu: Merged 5.0.N (5.0.3) to 5.1.N (5.1.1)
113684 adavis: Merged V4.2-BUG-FIX (4.2.6) to 5.0.N (5.0.3) (PARTIAL MERGE)
113603 cturlica: Merged DEV to V4.2-BUG-FIX (4.2.6)
113602 cturlica: MNT-14504: Cloud pull process not working after large delete
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@115670 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108044: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
107731: Merged 5.0.2 (5.0.2) to 5.0.N (5.0.3)
107679: MNT-13820 "Model can be deactivated with a node referencing the model is in trashcan"
Use the database to check if model is in use, rather than Search
Fix up existing tests in light of these changes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
108043: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud)
107697: Merged DEV to 5.0.N (5.0.3)
107623: MNT-14125: Errors related to sizeCurrent property.
- Update actual_type_n and persisted_type_n to 3 (stands for long type) of cm:sizeCurrent properties which have invalid 0 types
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@108074 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
107413: Merged DEV to 5.0.N (5.0.3)
106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Cleaning of Javadoc,
107565: MNT-13545 Fix compilation after merge of Javadoc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
104814: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
104747: MNT-10914: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
104737: Merged DEV to V4.2-BUG-FIX (4.2.5)
104724: MNT-10914: Alfresco 4.2.d categories corrupting in share
- Ignore rule execution for the nodes of cm:failedThumbnail type. Add patch that removes cm:generalclassifiable aspect, associated properties for the nodes of cm:failedThumbnail type and triggers reindex. Add unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@104872 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
103439: Fix ACE-3948: BM-0004: Factor out select on alf_content_url table during file creation
- A plain file creation had 9 inserts and 1 select ... now it only has 9 inserts.
- Switch to an optimistic insert during alf_content_url creation
- Operations that reuse content URLs (copy, version) now get the redundant statement in the form of a snapshot-wrapped insert
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@103623 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
103438: Working towards a fix for ACE-3948: BM-0004: Factor out select on alf_content_url table during file creation
- Complement the 'getOrCreate' EntityCache calls with 'createOrGet'
- Cleanup of ContentDataDAOImpl code before further changes: tabs, @Override, unused code, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@103622 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
100866: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
100808: Fix compile error as a result of:
Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
99878: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
99807: Merged DEV to V4.1-BUG-FIX (4.1.10)
99672: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
- Unit test to demonstrate issue was implemented.
- Previously suggested fix was also merged.
99781: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
- Updated javadoc for new method in ContentDataDAO.
- Corrected logic of eager cleaner. If store is read-only content should not be deleted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100936 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
100845: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
100756: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.2)
99878: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
99807: Merged DEV to V4.1-BUG-FIX (4.1.10)
99672: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
- Unit test to demonstrate issue was implemented.
- Previously suggested fix was also merged.
99781: MNT-12150 : Centera Connector : isContentUrlSupported is returning false for the Centera store
- Updated javadoc for new method in ContentDataDAO.
- Corrected logic of eager cleaner. If store is read-only content should not be deleted.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
99981: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE)
99482: Merged DEV to 5.0.N (5.0.1)
99198 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc typo in project alfresco-jlan
99413 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project alfresco-jlan
99205 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project core
99415 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project data-model
99227 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project file-transfer-receiver
99416 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project legacy-lucene
99417 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project qa-share
99418 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project remote-api
99427 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc in project Repository, letters S..Z
99433 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc in project Repository, letters A..R
99421 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project share-po
99247 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc typo in project slingshot
99248 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project slingshot
99424 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr
99426 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr4
99253 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project solr-client
99259 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project web-client
99260 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code
- Changed Javadoc parameters inconsistence in project web-framework-commons
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@100501 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
99377: BENCH-369: BM-0004: API and internals for Alfresco server
- Move commons Math3 to 'core' project for general reuse
- Clone NormalDistributionHelper class from Benchmark projects to Alfresco 'core'
- API added: http://localhost:8080/alfresco/s/api/model/filefolder/load
JSON:
{
"folderPath":"/Sites/t2/documentLibrary",
"fileCount":"1",
"minFileSize":"1024",
"maxFileSize":"2048",
"maxUniqueDocuments":"10000"
}
- Above JSON will create 1 file in the 't2' site document library with spoofed plain text
- Change away from deprecated API for TransactionListenerAdapter
- Fix imports and neatness
- Improve FileNotFoundException details
- Disable timestamp propagation on the parent folder to reduce CPU overhead
- Document changes relating to the addition of cm:description properties
- Add options to control generation of MLText cm:description fields
- descriptionCount: number of cm:description translations to include
- descriptionSize: size in bytes of each cm:description translation
- Use released 'alfresco-text-gen' V1.1
- Use fixed text-gen component to prevent ArrayIndexOutOfBOunds
- Tighten up error message when errors occur on reading content strings
- Fix random seed generation bug
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@99503 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
92720: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
92677: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
92592: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.5)
92521: Fix MNT-13032: Poor query plan for select_ChildNodeIds_Limited
- Pull query out into a general snippet
- Changed paging to use alf_child_assoc.child_node_id
- Changed query sort to use child_node_id
- No more 'filesort'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94906 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
92415: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
92316: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
92211: MNT-12862: Merged DEV to V4.2-BUG-FIX (4.2.5)
92199: MNT-12862: Performance and memory issues cleaning up deleted nodes
- Split statements for cleaning up deleted nodes out into a separate sql map file and create the MySQL-specific version
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94873 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
91564: Merged 5.0.N (5.0.1) to HEAD-BUG-FIX (5.1/Cloud)
91556: Merged V4.2-BUG-FIX (4.2.5) to 5.0.N (5.0.1)
91472: Merged V4.2.4 (4.2.4) to V4.2-BUG-FIX (4.2.5)
91406: Merged DEV (4.2.4) to V4.2.4 (4.2.4)
91352: MNT-12716 : 3.4 -> 4.2 Upgrade does not migrate locales of translated documents
- We can now specify default value in --ASSIGN directive using ftl-like way (var=col_name!-1).
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94811 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
89043: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
88875: Merged DEV (4.2.4) to V4.2-BUG-FIX (4.2.4)
88823: MNT-12587: MySQL: Query to retrieve orphaned content URLs can cause memory issues
Added fetchSize parameter to select_ContentUrlsOrphaned query for MySQL.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94598 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
88058: ACE-2030: Start process of retiring patches leading up to 4.0a
88061: ACE-2030: Remove unused SQL scripts for newly-retired patches
88062: ACE-2030: Change class names for all generic patches.
88064: ACE-2030: Remove unused patch implementation classes and fixes to get upgrade working again.
88067: ACE-2030: Clean up unused code and SQL for PatchDAO
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@88070 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
84121: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
82508: Merged V4.1-BUG-FIX (4.1.10) to V4.2-BUG-FIX (4.2.4)
82319: Merged DEV to V4.1-BUG-FIX (4.1.10)
81073 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
- Initial commit to revert fixes for MNT-8527 (r48757) and MNT-9483 (r56137) as this fixes causes performance issue for Oracle.
81966 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
- Default value for feed_user_id and site_network is now @@NULL@@.
- IS NULL clause was completly removed from activities queries.
- Upgrade sql script was added to replace nulls for Oracle (empty strings for other dialect) with @@NULL@@.
- Version schema was incremented by 1.
82278 : MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
- Fixed unit test failure.
83431: MNT-9532 : SQL performance issue - WHERE ... IS NULL statements
- Fixed build failure
84115: MNT-9532/MNT-11871: with the revert of MNT-11871 patch, MNT-9532 should be using a lower schema number.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84632 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
83892: Merged FEATURE2 to HEAD-BUG-FIX (5.0)
82450, 82478, 83318, 83442 : ACE-898 : Share uses "ModifiedBy" which is not always correct for folders
- Propagate cm:modifier and cm:modified. Feature related test
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@84595 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78692: ACE-2346: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
76534: MNT-10226: Web Script - Status 500 error on 'Edit Properties' page after adding 'Restrictable' aspect through CMIS 1.1 API
- Convert default value in appliance with type of the property.
76654: MNT-10226: Web Script - Status 500 error on 'Edit Properties' page after adding 'Restrictable' aspect through CMIS 1.1 API
- Fix unit test failures: now webscripts return values with appropriate type, so in tests it should be compared with value of the expected type.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82630 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
78609: Merged V4.2-BUG-FIX (4.2.4) to HEAD-BUG-FIX (5.0/Cloud)
78259: MNT-11895: Merged DEV to V4.2-BUG-FIX (4.2.4)
78245: MNT-11895: Attribute Service Entries with "Serializable" objects in key Segments are not guaranteed to be unique
- Dissallow attributeService entries with "Serializable" objects in key Segments because they are not guaranteed to be unique. Add unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@82620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261