4110 Commits

Author SHA1 Message Date
Mark Rogers
bdfadabda7 ALF-10902 - No friendly notification occurs when Editor or Collaborator tries to delete content
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32131 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 09:56:49 +00:00
Roy Wetherall
175e8a7420 ALF-10717: Renditions doclib and webpreview accumulates (not replaced) when creating new version using Edit Offline
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32129 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-21 04:56:09 +00:00
Derek Hulley
1e81baf116 Minor formatting in GetChildrenCannedQueryParams
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32126 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-20 22:41:10 +00:00
Derek Hulley
beaec01727 Fixed NPE for invalid nodes; check for null 'nodeInfo.getType()'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32123 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-20 21:41:30 +00:00
Derek Hulley
37edc9916a Raised ALF-11588: Test disabled: FormServiceImplTest.testActivitiWorkflowForm
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-20 21:00:49 +00:00
Matt Ward
b8ea34e7bb ALF-11519: changed ONLY_IN_LEFT to ONLY_IN_REFERENCE, ONLY_IN_RIGHT to ONLY_IN_TARGET
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32111 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 18:25:26 +00:00
Matt Ward
29dadc748a ALF-11518 and ALF-11519: unify separate validation/differences lists and move text generation to Result classes.
ALF-11518: Unify differences and validation results lists
ALF-11519: Move validation/diff result text generation from SchemaBootstrap to result classes.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32110 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 18:20:53 +00:00
Matt Ward
50ad2d600c ALF-11539: CIFS NodeMonitor is started even when CIFS and FTP are disabled
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32107 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 17:46:43 +00:00
Mike Hatfield
f187fdecc5 Fix ALF-11385 - Check out to Google Docs, Check in from Google Docs are available when Google Docs subsystem is disabled
Share no longer uses the DocumentLibrary/google-docs/enabled config flag but instead reacts to the current subsystem status.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 15:02:43 +00:00
Kevin Roast
51b41465ba Fix for ALF-11570 - NPE in UsernamePropertyDecorator on null lastname
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32098 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 13:46:41 +00:00
Mark Rogers
7dd72bc691 build fix.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32097 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 13:39:54 +00:00
Andrew Hind
3d8c16c772 Build fix: NPE
java.lang.NullPointerException
	at org.alfresco.opencmis.mapping.ObjectTypeIdProperty.getValueInternal(ObjectTypeIdProperty.java:49)
	at org.alfresco.opencmis.mapping.AbstractProperty.getValue(AbstractProperty.java:102)
	at org.alfresco.opencmis.search.CmisFunctionEvaluationContext.getProperty(CmisFunctionEvaluationContext.java:215)
	at org.alfresco.repo.search.impl.querymodel.impl.BasePropertyArgument.getValue(BasePropertyArgument.java:75)
	at org.alfresco.repo.search.impl.querymodel.impl.functions.PropertyAccessor.getValue(PropertyAccessor.java:74)
	at org.alfresco.opencmis.search.CMISResultSetRow.getValue(CMISResultSetRow.java:174)
	at org.alfresco.opencmis.search.QueryTest.testBasicAllFolderColumns(QueryTest.java:3531)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32085 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-18 09:47:03 +00:00
Andrew Hind
df4dd4c094 Build fix for NPE in QueryTest
java.lang.NullPointerException
	at org.alfresco.opencmis.mapping.AllowedChildObjectTypeIdsProperty.getValueInternal(AllowedChildObjectTypeIdsProperty.java:56)
	at org.alfresco.opencmis.mapping.AbstractProperty.getValue(AbstractProperty.java:102)
	at org.alfresco.opencmis.search.CmisFunctionEvaluationContext.getProperty(CmisFunctionEvaluationContext.java:215)
	at org.alfresco.repo.search.impl.querymodel.impl.BasePropertyArgument.getValue(BasePropertyArgument.java:75)
	at org.alfresco.repo.search.impl.querymodel.impl.functions.PropertyAccessor.getValue(PropertyAccessor.java:74)
	at org.alfresco.opencmis.search.CMISResultSetRow.getValue(CMISResultSetRow.java:174)
	at org.alfresco.opencmis.search.QueryTest.testBasicAllFolderColumns(QueryTest.java:3531)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32073 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 19:38:50 +00:00
Kevin Roast
10bd3e40dc Missing JavaScript API javadoc on creating a new node version as spotted by TonyB
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 18:29:12 +00:00
Mark Rogers
2c4b046ba6 ALF-10941 - CIFS Open file from excel
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32068 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 17:32:37 +00:00
Derek Hulley
9a49808cf8 Fixed ALF-11540: Alfresco generates errors when running in read-only mode
- NodeMonitoryFactor
 - FullTextSearchIndexerImpl


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32067 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 17:16:34 +00:00
N Smith
645913c9bf ALF-10947 Fixed issue where repeating JBPM timer was causing an infitinte loop if an exception was thrown within the timer event.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32063 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 15:38:46 +00:00
Andrew Hind
7f7224c2f5 Fix for ALF-11001 Index check is not aware of cm:indexControl:isIndexed
- also fixed index checker to respect the current live index subsytem and not the property (which may be over ridden by sub-system configuration)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32062 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 15:29:58 +00:00
Nick Burch
1cd461a4cb Merged BRANCHES/DEV/BELARUS/HEAD-ENH-1107 to HEAD:
31986: ENH-1107 : Auditable fix as discussed with Derek, needed when connecting to alfreco sharepoint protocol via Office 2008 for Mac


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 14:24:48 +00:00
Matt Ward
9d1b2cbf9c Fix NPE exposed by RepositoryStartupTest.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 14:00:41 +00:00
Nick Burch
989f606d60 ALF-11500 Correct the repeating events finding to use the To date, and add additional repeating event webscript unit tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32054 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 12:19:52 +00:00
Gethin James
6b0b6187c6 FIXED : ALF-11051: publishing assets with comments not possible
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32050 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 11:29:58 +00:00
Matt Ward
d111a38a56 ALF-11516: Load schema ref. file using same location and mechanism as for db create scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32049 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 11:28:07 +00:00
Alan Davis
d80f8c136a ALF-8882 Edit Online: Modifier and Modified date are changed even no changes were applied
- needed to turn off ASPECT_AUDITABLE on removeProperty which is called on unlock
   - added code to not enable this aspect early if nested calls were made (this is not done, but is safer this way)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32047 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 10:18:45 +00:00
Roy Wetherall
4a73cf915b ALF-9937: Alfresco Share Icon on a folder that designates a rule
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32040 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-17 02:34:28 +00:00
Roy Wetherall
a16fd2d139 ALF-11108: Notification when item is updated, even though 'when' states 'items are created or enter this folder'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@32039 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2011-11-16 23:25:10 +00:00
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