Derek Hulley
f4e00169ab
Merged V1.3 to HEAD (3180:3203, 3204:3217)
...
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3180 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3203 .
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3204 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3217 .
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3407 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 11:00:06 +00:00
Derek Hulley
595556f3c5
Merged V1.3 to HEAD(3161:3179)
...
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3161 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3179 .
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3406 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 10:49:21 +00:00
Derek Hulley
133c4bc2f3
Merged V1.3 to HEAD (3106:3116)
...
svn merge svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3106 svn://www.alfresco.org:3691/alfresco/BRANCHES/V1.3@3116 .
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3401 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-07-26 09:41:53 +00:00
Derek Hulley
10c3d924df
Fixed test that didn't run after a previous test due to policies registered in earlier tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3225 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 14:45:00 +00:00
Derek Hulley
eb55d8f625
Fixed unreported bug where index recovery was using unused 'deleted' column.
...
Fixed queries
Removed 'deleted' column
TODO: Fix DB upgrade scripts to not contain the column (minor)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3215 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 11:10:04 +00:00
Derek Hulley
fe439b54c7
Added explicit checks for certain cascade delete scenarios
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3214 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-23 11:08:56 +00:00
David Caruana
43a69ac371
Fix AR-649.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3121 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 17:58:03 +00:00
Derek Hulley
97425c7177
Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3116 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:49:22 +00:00
Derek Hulley
1eb9d806b4
Expose database unique node ID as a spoofed property. This can be used as an alternative to the UUID for local uniqueness.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3115 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-15 14:39:15 +00:00
Derek Hulley
df94f342d8
Added getArchivedNode(NodeRef originalNodeRef) method for quick retrieval of archived node reference
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3102 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-14 15:40:27 +00:00
Derek Hulley
14d4b785b9
Import
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-08 13:09:55 +00:00
Derek Hulley
0797e2055c
Removed test that has moved to the integrity check tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-06 09:09:59 +00:00
Derek Hulley
7c17d38207
Fixed AR-626: Default aspects not being checked for.
...
- The NodeService was preventing the removal of required aspects
- This is now enforced by integrity
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3030 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-05 15:01:25 +00:00
Andrew Hind
a28b0141f3
Fix type assoc type for top level groups
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3008 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-06-01 13:22:11 +00:00
Derek Hulley
8c870f8c34
Fixed AR-598: Restore not working for non-admin user
...
Fixed AR-579: Node ownership not changing for archived and restored nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2964 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-24 07:13:56 +00:00
Derek Hulley
d8878a46ed
Fixed AssociationRef.equals method that was causing association matching to fail
...
Fixed node tests that were hiding a NullPointerException when node associations weren't found
Fixed NodeAssoc AssociationRef caching for cases where the source or target nodes move stores
Removed storage of Path property for archived nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 22:04:49 +00:00
Derek Hulley
f52cffbd77
Removed natural-key declaration from node_assoc table
...
- This was a nice idea, but mandates that we flush the deleted associations before recreating them (ala version service restore).
- For now, we can leave this off
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2875 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 14:09:05 +00:00
Derek Hulley
e1143e64be
Fixed removal of original path property
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2861 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-12 09:34:42 +00:00
Derek Hulley
cda459a84f
Fixed test to flush session, avoiding unique constraint violation
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2858 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 19:13:02 +00:00
Derek Hulley
dc6044f6dc
Fixed policy calls when moving nodes between stores
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 15:13:06 +00:00
Derek Hulley
011df54dc1
Added catch for AccessDeniedException
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2836 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 09:35:36 +00:00
Kevin Roast
9ef32ac935
Derek's fix to return FAILURE_INVALID_PARENT when restoring a node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-11 09:10:54 +00:00
Derek Hulley
d5bd90b96b
Added test to check that restore status was picking up missing destination node
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-10 21:53:36 +00:00
Derek Hulley
d3708a3675
Added primary path to the properties archived against a node.
...
Fixed bug in caching of ChildAssociationRef in the ChildAssoc object
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2797 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-09 15:22:28 +00:00
Derek Hulley
6130a51290
Better Javadocs
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2793 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-09 07:52:31 +00:00
Derek Hulley
501f4b02a4
Added 'nodeArchiveService' bean
...
- Added tests around transaction visibility
- TODO: Need to set the owner of archived and restored nodes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-08 13:47:19 +00:00
Derek Hulley
95c6b0ed8e
Checkpoint
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-06 04:20:16 +00:00
Derek Hulley
8c92948879
Low-level archive and restore functionality
...
- Full tests of archive and restore against the contentModel.xml
- TODO: Test permissions of archive store
- Currently on a single, simple restoreNode method on NodeService
- TODO: NodeRestoreService implementation to provide helpers around mass restoration, purging, etc
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-06 02:55:27 +00:00
Derek Hulley
fcad8b7a1f
Content and folder node archival
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2767 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 16:04:55 +00:00
Paul Holmes-Higgin
3c5457c602
changed enterprise headers to open
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-04 12:37:20 +00:00
Derek Hulley
231cfc3fa1
Fixed issue where node with specific UUID is recreated in the same transaction as it is deleted in
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 19:04:55 +00:00
Paul Holmes-Higgin
c37ff8805c
Merged enterprise features
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2746 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 18:34:13 +00:00
Roy Wetherall
0f6eb410ed
- Added update rule type
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2739 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-05-03 11:26:29 +00:00
Derek Hulley
7edcb18bc0
Schema changes and ID-based node storage
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2727 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-28 12:54:29 +00:00
Andrew Hind
d467d1a208
IOC for scheduling
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2696 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-24 16:22:49 +00:00
David Caruana
0330f2cdb7
Transaction-level Policies. Modify AuditableAspect and ContentHits example to make use of transaction policies so they only trigger once.
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2651 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-12 16:15:20 +00:00
Derek Hulley
f870a17a66
Fixed AR-546:
...
VersionCounterDao is enclosed in non-propagating transactions (via config)
version_counter row is locked while version number is incremented
Added tests to ensure failure before fixing
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2646 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:54:09 +00:00
Derek Hulley
ea3f625fd4
Better error message
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2644 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-11 10:47:44 +00:00
Derek Hulley
424bd89fbc
Fixed spelling
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2631 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-04-06 11:18:08 +00:00
Derek Hulley
9fe16d5ae3
Fix issues raised by tests
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2565 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 12:04:59 +00:00
Derek Hulley
706c1e331d
Added check for nodes deleted during the transaction
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2563 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-22 10:03:19 +00:00
Derek Hulley
fd13fe7a51
Added sys:incomplete aspect.
...
Extended <mandatory> definition in the DD.
The "mandatory" properties in our system have, until now, been optional, i.e. the integrity has not been enforced.
It is possible to have
<mandatory enforced="true">true</mandatory>, which means "mandatory and enforced", but
<mandatory enforced="false">true</mandatory>, which means "mandatory but not enforced".
Our system properties have been marked as "mandatory".
Dublin core has had the properties marked as "required". Currently, if the Dublin Core is added, the node is tagged with sys:incomplete.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-21 21:46:15 +00:00
Derek Hulley
177e90545f
AR-166: Property constraints included in integrity checks
...
AR-194: Regular expression constraint applied to cm:name property to flag illegal characters
Other minor fixes
- Dictionary bootstrap bean depends on I18N bean being constructed
- RegexConstraint check can be inverted
- Some I18N message fixes
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2549 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-15 17:49:09 +00:00
Derek Hulley
af18443867
Removed unnecessary test
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2548 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-15 17:38:24 +00:00
Roy Wetherall
731733d59f
- Auditable aspect now modifies properties in batch using setProperties
...
- Inbound rule type now only fires on content creation (not on content update)
- Update rule type added, but commented out sue to issues with over enthusiastic policies.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2541 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-13 14:42:00 +00:00
Derek Hulley
542b61e681
Test fix
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2530 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 14:04:44 +00:00
Derek Hulley
0a30d7f036
Removed unused code
...
Hid unused code warnings for local variables that might be useful for debugging
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2529 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:59:30 +00:00
Derek Hulley
ac2e167b60
Removed warnings for 'unused' variables
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2526 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 13:29:50 +00:00
Derek Hulley
ebecabfb3a
Minor test change
...
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 11:42:16 +00:00
Derek Hulley
52110e3e66
Fixed up property type restrictions for types d:any
...
- You can now pass single or multiple values into a property of type d:any
Type | Multiple | Allow Single | Allow Multiple
d:text N Y N
d:text Y Y Y
d:any N Y Y
d:any Y Y Y
anon Y Y
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2524 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2006-03-09 11:39:29 +00:00