4084 Commits

Author SHA1 Message Date
Matt Ward
0369a9b3d0 ALF-11370: ExportDbTest expects particular/PostgreSQL schema
Now creates own test tables, indexes and sequence and runs export test against those (if running PostgreSQL).


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32022 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 15:00:58 +00:00
Andrew Hind
2da83be109 Probable build fix for: ALF-11507 Test disabled: QueryTest.testBasicAllFolderColumns
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32017 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 14:31:55 +00:00
Derek Hulley
36d2734915 ALF-11507: Test disabled: QueryTest.testBasicAllFolderColumns
- The node bulk loading has been fixed. However, the CMIS resultset is still
   iterating over results for nodes that have been deleted.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32010 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 11:03:19 +00:00
Derek Hulley
173ab993eb Javadoc clean up
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 10:59:34 +00:00
Derek Hulley
b18da4e3cf Batch loading of nodes doesn't pull back deleted nodes; search-NodeService interaction fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31998 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:28:10 +00:00
Derek Hulley
3ba462a1a0 Point to CachingContentStore (ALF-11498)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31997 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:22:02 +00:00
N Smith
76be9d0da4 ALF-10279 The default transition label is now localisabel. Labels can be set globally, at the workflow level or at the node level.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31995 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 16:09:02 +00:00
Matt Ward
f5b08ab073 ALF-11256: SchemaBootstrap must compare running schema against reference dump
Reference schemas (e.g. classpath:org/alfresco/util/schemacomp/reference/PostgreSQLDialect-Reference.xml) are loaded (if present) and the database is compared to that reference schema.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31991 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 15:03:22 +00:00
Jan Vonka
8bb6a9a372 Merged DEV to HEAD:
31815: Fix "It is impossible to search, create or add tags" (also related to ALF-10616)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31990 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 14:41:01 +00:00
Derek Hulley
0b7432b4d0 Merged V3.4-BUG-FIX to HEAD
31987:Proper fix for ALF-11489: 'patch.sitesSpacePermissions' failed on upgrade 2.2.8 -> 3.4.6
         - Just handle missing defined ACLs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31988 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 13:51:29 +00:00
Jan Vonka
5c2a68bdd2 Merged DEV to HEAD:
30289, 30366, 30381, 30607: (record-only)
    30621, 30658, 30674, 30689, 30700: MT-aware Solr (THOR-129) - enabler only (subject to QA)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31975 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 12:02:28 +00:00
Derek Hulley
f98125470c Merged DEV to HEAD
31957: ALF-11361: "--(optional)" parameter was added to "DROP INDEX source_node_id;" statment on Oracle dialect.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31960 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-15 10:43:33 +00:00
Gethin James
4c350ca0a0 FIXED : ALF-11400: Publishing - Incorrect behaviour of publishing permissions
Changed to a new publishedNode association


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31944 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 16:41:46 +00:00
Matt Ward
3df35a9d06 ALF-10771: schema validation and differences rules
Validation serialized and deserialized in XML.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 16:25:49 +00:00
Derek Hulley
d6ffc3d21e Batch loading of nodes doesn't pull back deleted nodes; search-NodeService interaction fix
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31935 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 14:34:04 +00:00
Mark Rogers
19392e1ad9 Update stale File State Cache.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31934 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 13:54:09 +00:00
Matt Ward
4c863f5e0a ALF-10771: schema validation and differences rules
Laying some groundwork for the main code.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31921 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 10:16:59 +00:00
Dave Ward
60688d34b9 Possible fix to QueryTest failure
- Temporarily disable FTS indexing during tests as it may run concurrently with a lag and skew results

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31920 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 09:56:10 +00:00
Gethin James
9e0b92d81e FIX for ALF-8736: When modifying properties via the ScriptNode API, the addAspect() method destroys changes
Added Javadoc comments

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31917 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-14 09:05:37 +00:00
Dave Ward
73e64eed94 Merged V3.4 to HEAD
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'


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31916 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-12 11:51:50 +00:00
Derek Hulley
ae202a3f24 Merged DEV to HEAD
31651: Fixed up concurrency tests: target concurrent aspect adds in addition to numeric property increments
   31652: Ensure DB-based concurrency problems are propagated when updating alf_node (not just optimistic lock detections)
   31823: TransactionalCache provides REPEATABLE READ
          - Values found in shared cache are placed into transactional cache
          - Previously, values could keep changing until first write (READ COMMITTED)
            but now the first read sets the value until it is changed by the current
            transaction
   31825: Minor comment about node version rollover after version=32767
   31826: Immutable node caches: properties, aspects and parent assocs are immutable
          - cache entries are only put but never updated
          - zero cluster overhead for these 3 caches
          - Stale nodeCache detection when reading properties, aspects or parent assocs
          - Added tests to introspect on the caches directly to validate behaviour
          - Ensure that each node gets a single version increment per transaction
   31854: Cater for cm:auditable changes during touchNode()


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-11 16:37:07 +00:00
Derek Hulley
cca70d44b8 Started adding debug logging
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31910 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-11 16:08:57 +00:00
Derek Hulley
22009f39e0 Remove commented-out code (ALF-11426)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31909 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-11 16:07:45 +00:00
Derek Hulley
69b9f21667 Cater for replicator thread beating test thread
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-11 16:04:57 +00:00
Mark Rogers
111f227105 ALF-11426 : IMAP subsystem is dependent on search
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-11 15:55:21 +00:00
Mark Rogers
f695bcdcd0 ALF-10686 - Original modification date is lost when files are copied into Alfresco via CIFS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31864 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-08 17:09:09 +00:00
Brian Remmington
7a03b10f26 Fixes ALF-9870: Improve publishing of content to SlideShare
- now uses only HTTPS to communicate with SlideShare.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-08 16:57:33 +00:00
Roy Wetherall
42e2c595b9 ALF-11108: Notification when item is updated, even though 'when' states 'items are created or enter this folder'
* rules not fired on checked out node during version update



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31842 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-08 13:45:30 +00:00
Matt Ward
4718c76929 Temporarily disabling test that only currently works on PostgreSQL.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31839 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-08 11:57:47 +00:00
Florian Mü
05cf5fb4d2 - reverted behaviour of CMIS createDocument() with VersioningState == CHECKEDOUT
- added support for sticky sessions to CMIS server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31819 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 19:43:18 +00:00
Roy Wetherall
cd92e7c08e Merged V3.4-BUG-FIX to HEAD
- 31807: Fixed side effect to ALF-718
        * transaction created for work done after commit
        * templates that call methods that require transaction now work



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 16:27:33 +00:00
Brian Remmington
b1b12be5eb Fixes ALF-10973: Failed to open 'Create Rule' page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31808 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 15:45:08 +00:00
Andrew Hind
1f902f3be9 Fix for ALF-10449 SOLR Index backup is not available via cron - regression WRT lucene implementation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 14:37:53 +00:00
Steven Glover
f2e0b47d5d Fix for ALF-11275
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31796 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 12:17:03 +00:00
Mark Rogers
e932bd942e Added new test for Email Server to check configuration for EVERYONE group works.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 12:16:41 +00:00
Roy Wetherall
75bb9a4bfc ALF-9605: Fix up unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-07 10:42:21 +00:00
Dave Ward
16dae2196e Fix CheckOutCheckInServiceImplTest
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31759 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 18:50:00 +00:00
Steven Glover
74ba308cf9 Fix for ALF-11104: add authenticated user to authorisations list in PermissionService + fix inconsistency in AuthorityService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31751 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 16:20:09 +00:00
Roy Wetherall
f54aacb177 ALF-9605: Failure to create thumbnails during simultaneous upload of similarly named files
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31740 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 14:44:03 +00:00
Andrew Hind
39139ce976 Another fix for : ALF-10453 SOLR: Errors in the log while starting Alfresco until search engine is changed to lucene.
- solr result set now has a NodeService wired up to recover properties in the same manner as the lucene version ...

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 14:25:17 +00:00
Gavin Cornwell
e248025118 Fixed ALF-10242: JBPM workflow instances count is wrong when "system.workflow.jbpm.definitions.visible" property is set to false.
Also updated form config to add "Definitions Visible" attribute for the Activiti engine.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31737 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 12:52:52 +00:00
Dave Ward
0772435bda ALF-10934: Prevent potential start/stop ping-pong of subsystems across a cluster
- When a cluster boots up or receives a reinit message it shouldn't be sending out any start messages

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31732 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 12:30:53 +00:00
Kevin Roast
a400747605 Update JavaDoc to remove incorrect comment (fixes ALFCOM-2964)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 10:05:22 +00:00
Florian Mü
f19c9e5b52 Workaround for ALF-11140
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-04 05:05:33 +00:00
Mark Rogers
1c2c8442af Fix required to WebDavURL (Was missing top folder level)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31703 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 18:22:30 +00:00
N Smith
b56371e350 Implemented CanCreateDwsUrl Sharepoint protocol and fixed some issues in CreateDws protocol method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31699 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 17:28:34 +00:00
Matt Ward
d41c381ac8 ALF-11255: schema dumper bugfix: added app context shutdown call.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31694 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 16:19:47 +00:00
Matt Ward
5228c5b01c ALF-10482: add timestamp to JMX dumps.
I had fixed this in the command line tool, but didn't realise that there was a Share-based interface too. Moved the fix to the common utils class.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31691 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 16:09:12 +00:00
Dave Ward
b9034085db Merged V3.4-BUG-FIX to HEAD
31676: ALF-8906: Fix IMAP unit test failures


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31677 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 10:47:23 +00:00
Steven Glover
a667dc498a Fix for ALF-10842
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31673 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-03 09:44:36 +00:00