2765 Commits

Author SHA1 Message Date
Jan Vonka
d74f934789 Fix ALF-2499 (Deleting a web project also deletes similarly named web projects - Potential Data Loss)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 15:36:45 +00:00
Mark Rogers
b53c4f4fae Merge DEV to HEAD
19904 : ALF-2126 - IMAP extremely slow (read: unusable) if messages are uploaded to server

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19915 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 13:05:05 +00:00
Neil McErlean
4d60018f0c ALF-2220 fix. Rendition Definitions should only be persisted on startup if they have not already been persisted.
Also removed an unnecessary TODO.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19914 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 12:54:54 +00:00
Nick Burch
da9a7ec3fe Further test relating to ALF-2221 - verify that the mail.from.default address is used when an invite is sent by someone without an email, otherwise the sender's email is used
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19912 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 12:49:08 +00:00
Gavin Cornwell
0a85d1f52f Fix for ALF-1501: regex constraint on text field should allow blank if mandatory not set
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19911 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-20 10:49:59 +00:00
Andrew Hind
703aeeaeb9 Fix for ALF-200: Deprecated methods should have reference to alternative methods
- removed PermissoinService methods deprecated since 2.2/3.0

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19907 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 19:46:23 +00:00
Nick Burch
b0e61d1f28 Test to cover ALF-2221 - update the test to check the from email address on invites which are sent out
MailActionExecuter has been updated to track the last message it didn't send out when in test mode


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19901 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 15:25:12 +00:00
Nick Burch
a711bff301 Add missing Auditable/NotAuditable tags, and stub auditConfig entry
Fixes ALF-2277, where enabling audit broke some site features of share with
 errors around unanotated service methods on Tagging and Invitation


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19899 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 14:25:17 +00:00
Andrew Hind
0d3f558e11 Fix for ALF-786: WCM Cluster / Lucene: Searching in staging returns duplicate entries (when concurrently submtting)
- fixed duplication arising from indexing 0-1 and 0-2 against the index for near simultaneous snapshots 
- tracking has not been modified nor has index rebuild - the latest index info from the AVM index is definitive and complete - we do not have to do additional work as we do for DM

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19898 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 14:11:47 +00:00
Jan Vonka
16c4b49359 Fix ALF-2210 - incorrect version history (version label incremented twice, in certain cases)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 13:51:59 +00:00
Mark Rogers
41639f8d84 Merge V2.2 To HEAD
ALF-1747 - ISSUE with ContentMetadataExtracter class

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-19 13:30:03 +00:00
Mike Hatfield
29d1e316a9 ALF-2462 - Duplicate data list item does not handle aspect properties
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-17 01:10:23 +00:00
Jan Vonka
5f481b53bf Fix ALF-898 - WCM: Deleting a file leads to error (only if RM/DOD installed)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19880 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-16 15:59:15 +00:00
Mark Rogers
f4a15e7448 Client Side Transfer Report now validates against its XSD + unit test.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-15 16:59:21 +00:00
Steven Glover
8b72422af1 Fix for http://issues.alfresco.com/jira/browse/ALF-947.
Fix move operation indexing code so that it can deal with an in-txn index flush, by ensuring that appropriate index aux data is removed from the delta to prevent duplication.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19867 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-15 16:15:33 +00:00
Steven Glover
f14db280f3 Fix for http://issues.alfresco.com/jira/browse/ALF-713.
Can't reproduce the bug but spotted a race condition in UserUsageTrackingComponent that may cause this in rare circumstances. Deal with this by throwing a ConcurrencyFailureException and let the txn retry handler retry the operation.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19862 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-15 12:38:19 +00:00
Kevin Roast
47905d3314 Replaced System.out with logger.debug in DMPermissionsDaoComponentImpl.deletePermissions()
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19859 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-15 10:28:45 +00:00
Gary Spencer
08c2d9c773 Added checks to not track live usage if the main content usage service is not enabled.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19845 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-14 07:44:40 +00:00
Jan Vonka
c56442c1c2 LinkValidationService deprecated (prep for ALF-2338)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19843 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 15:40:18 +00:00
Gary Spencer
ef8e049195 Add live usage quota manager implementation to the file server. ALF-1068.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19840 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 14:31:13 +00:00
David Caruana
8652b3c8df Fix ALF-2401: Unable to map content models with default namespace prefix to CMIS
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19838 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 13:08:29 +00:00
Jan Vonka
89ea49e48e Fix ALF-2225 - content usage count does not take into account deletion of custom docs (sub-types of cm:content)
- also fix recover & add unit tests

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19837 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 12:14:14 +00:00
Jan Vonka
6a951fd480 AVMStoreDescriptor - fix minor typo (for debugging)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19835 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-13 11:02:15 +00:00
Mark Rogers
d3816ad09b ALF-510 : errorOnOverwrite not implemented for overwriting files.
- now overwriting a file does result in an error if there is a pre-existing file.
  - also fixed deployment report to have the stack trace even if there is a deployment report.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19824 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 17:12:31 +00:00
Andrew Hind
b17f139fb0 Fix for ALF-2376: Expose cmis:baseTypeId as queryable property (or at least include it in the returned query result properties) PART 2: baseTypeId is now queryable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19821 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 13:51:00 +00:00
Mark Rogers
371fc14fc9 ALF-2056 - tempFileCleaner is too aggressive for large WCM deployments
- added the longLife temp folders

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19818 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 13:10:07 +00:00
Jan Vonka
d6eeff6fb1 Merged BRANCHES/V3.2 to HEAD:
19807: Fix ALF-2318 - failed to add WCM content (without description or title)


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19815 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 11:55:29 +00:00
Andrew Hind
464c52891b Fix for ALF-2376: Expose cmis:baseTypeId as queryable property (or at least include it in the returned query result properties) PART 1: non-queryable properties are now selectable
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19810 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 11:08:38 +00:00
N Smith
700df2c8d4 ALF-800 Externalized the exception messages for JB PMEngine.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19806 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-12 09:46:34 +00:00
Neil McErlean
de612572d9 Proper fix for unreported issue with OOo-based extraction of Office 07 metadata.
Added a new metadata extractor based on POI for docx, xlsx and pptx mime types.
Changed OpenOfficeMetadataExtracter so that it no longer supports these mime types.
Added the new test code to ContentMinimalContextTestSuite

Some tidying up of code in AbstractMetadataExtracterTest and OpenOfficeMetadataExtracter to reflect the fact that this extractor does not handle these mime types any more.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19792 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 12:10:06 +00:00
Mark Rogers
fa927055d9 Unreported bug : deployment lock needs to include port number.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19791 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 10:45:59 +00:00
Mark Rogers
00edffb68d ALF-2049 - ClassCast exception during import
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19790 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 10:34:02 +00:00
Mark Rogers
6c73c32893 ALF-2314 - WCM Deployment: Deployment Report fails if deploying multiple targets (concurrently)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19788 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 10:21:52 +00:00
Neil McErlean
4fdfac66da Refactor of previous test fix. I have pushed down the OOo-specific parts of the change from AbstractContentTransformerTest to OpenOfficeContentTransformerTest leaving an extension point in the base class should other transformations need to be excluded in the future.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 09:48:14 +00:00
Neil McErlean
fad02fa135 Fix for failing test OpenOfficeContentTransformerTest.testAllConversions.
Various OOo-related transformations are returned as available but fail on our test server with OOo on it.
Pending further work on these failings, I am disabling those transformations in test code whilst leaving them available in the product code. This is because in the wild a different OOo version may succeed with these transformations.

I had previously explicitly disabled 3 transformations in the product and I am moving that restriction from product to test code for the same reason.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19785 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 09:39:35 +00:00
Gary Spencer
1261142950 Fix for CIFS/CheckInOut.exe save of working copy breaks lock on original file. ALF-2028.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19784 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 08:47:35 +00:00
Gary Spencer
56f6c38b22 Fix for working copy checked out via CIFS is not accessible until FileStateReaper expires file state. ALF-962.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19783 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-09 08:41:54 +00:00
Neil McErlean
b1f48c9747 Fixing test failures on HEAD. OOo is returning null values for pptx, xlsx properties author, title, description.
So these checks have been suspended. Will examine use of Poi to extract these properties.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19775 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-08 16:01:26 +00:00
Jan Vonka
e51c893643 Fix ALF-2324: Virtualization Server failed to connect to WCM Authoring Server
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19772 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-08 15:38:51 +00:00
David Caruana
f901c63daa Fix ALF-2332: getRelationships fails for associations whose source or target types are not mapped to the CMIS domain model
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19747 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-06 17:01:24 +00:00
Jan Vonka
8aeb83d1c9 Merged V3.2 to HEAD
19524: Fix AVM indexing NPE when running AVMCrawlTestP (if src & dst are both deleted / not there)
    19652: ALF-885 - fix test


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19726 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-01 11:23:33 +00:00
Derek Hulley
56bf21e4c5 Merged BRANCHES/V3.2 to HEAD:
19714: Added dialect-driven bean factory, HierarchicalBeanLoader
   19715: Test resource for HierarchicalBeanLoader
   19716: Added ControlDAO with PostgreSQL-specific override
   19717: Fix ALF-726 for PostgreSQL


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19720 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-01 01:23:31 +00:00
Derek Hulley
f27434f2c6 Merged BRANCHES/V3.2 to HEAD:
19177: (RECORD ONLY) Updated record-only entries for V3.1 branch
   19321: (RECORD ONLY) Removed deep svn:mergeinfo
   19331: (RECORD ONLY) Merged HEAD to BRANCHES/V3.2:
        19324: Follow-up on ALF-765 by upgrading EHCache to 2.0.0Performing merge across the whole of the branch
   19526: Moved ContentServicePolicy static QNames onto policy classes
   19539: (RECORD ONLY) Merged HEAD to V3.2
         19538: Build fix - fix build speed
   19541: Added extraction of custom, mapped metadata from PDF documents
   19543: (RECORD ONLY) Removed deep svn:mergeinfo
   19598: (RECORD ONLY) Backported (merge not possible) HEAD rev 18790 for IndexInfo fixes
   19626: Fix for ALF-732:  Possible memory leak using the .getNodeRefs() method against a ResultSet ...
   19629: (RECORD ONLY) Merged HEAD to V3.2
        19625: Fix to allow Share logo to swapped out for a different one without having to modify the header CSS.
        19628: Corrected Share header component height.
   19649: ALF-885: Cannot retrieve cm:title from an AVM node in FreeMarker (if persisted with actual type set to MLText)
   19694: (RECORD ONLY) Merged V3.2 to HEAD: r19310 bad back merge - record-only
   19713: (RECORD ONLY) Removed svn:mergeinfo


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19719 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-04-01 01:05:03 +00:00
Neil McErlean
f11ce22967 Return value from isTransformationBlocked was inverted. Fixed now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19707 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 16:37:01 +00:00
David Caruana
d452965061 Fix ALF-2299: CMOS AtomPub binding - Property definition does not map Alfresco content model defined MINMAX constraints
- MINMAX constraint now mapped to minValue and maxValue in CMIS property definition

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19706 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 16:35:45 +00:00
Neil McErlean
fcc149147f Refinement of previous check-in re OOo transformations.
I have pulled up the code that handles blocked transformations into a superclass so that the JodConverter-based transformer worker can inherit the same list of blocked transformations. To reiterate, blocked transformations are those that the OOo integration code believes should work but which are broken in practice. These are blocked by the transformers and will always be unavailable regardless of the OOo connection state.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19705 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 15:25:57 +00:00
Neil McErlean
7daa5141b6 Fix for HEAD builds running on panda build server.
OOo was recently installed on panda which has activated various OOo-related transformations/extractions in the test code.
It appears that OOo does not support some transformations from Office 97 to Office 2007. Specifically doc to docx and xls to xlsx. These transformations have now been marked as unavailable.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19702 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 15:07:29 +00:00
Brian Remmington
6100444180 A tweak to the word "manifest" on the transfer service event model. Altered to "snapshot", since I can foresee a time when a proper manifest will also be needed.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19701 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 15:06:34 +00:00
Nick Burch
bc484918c0 Fix ALF-1006 - problems with tag scope on share Wiki pages
The tagging service and checkout/checkin weren't quite playing nicely
 together due to the way the copy policy was being triggered. A new
 "before copy" policy was added, to complement the "on copy complete"
 policy, and the tagging service updated to use this.
A tagging test which calls checkout/checkin was added that verifies
 that the tag scopes now behave correctly under this action.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19692 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 12:10:23 +00:00
Brian Remmington
4f9f63ac01 A few minor corrections to XSLT rendering engine code discovered while writing the related wiki page
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19685 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-03-31 08:19:30 +00:00