The association control now accepts a 'startLocation' parameter, this can be set to any of the following:
{companyhome}
{userhome}
{siteshome}
{doclib}
{self}
{parent}
A NodeRef
An XPath
The NodeRef and XPath options can also be used for the category form control to start the category picker in a particular category.
The XPath option is already used by the replication job UI and an example of {doclib} is in the FDK.
Example config would be as follows:
<form>
....
<appearance>
<field id="fdk:images">
<control>
<control-param name="startLocation">{doclib}</control-param>
</control>
</field>
<field id="fdk:reviews">
<control>
<control-param name="startLocation">/app:company_home/app:dictionary/app:transfers/app:transfer_groups/cm:default</control-param>
</control>
</field>
</appearance>
</form>
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21992 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- 3.4 de-Hibernate problem
- The DAO was not *ever* persisting '.default' so could give back different IDs for getOrCreateDefaultLocale().
- Obviously, the NodeService (and all other clients) would expect the same ID for the default locale.
- No need to change the NodeService property code - it's behaving correctly.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21985 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Investigation of previous attempt showed that the use of 'alternatives' was not going to work here
- Pulled out all 'alf_usage_delta' creations from other upgrade scripts
- Removed alternatives from patch 'patch.db-V3.4-UsageTables'
- Added '--(optional)' at various locations to keep things sane
- Tested 2.1.7, 2.2.x and clean bootstrap on MySQL
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21979 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Moved creation of alf_usage_delta in AlfresocCreate-UsageTables.sql
- Ensured that alternative SQL scripts are respected when upgrading from 2.1 or 2.2.1
- Only applies for 2.2.2-2.2.x
- All DB create scripts affected and need checking
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21945 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Prevents regression of ALF-2565: Allow cm:auditable values to be set programmatically
- Prevents regression of ALF-3569: Alfresco repository CIFS driver not setting timestamps
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21939 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Moved setting of txn isolation level to ControlDAO
- Retired patches where target schema is < 100
- Removed unreferenced patch implementations
- Removed unreferenced DB scripts
- Moved patch-specific queries (ACL upgrade counts) into patch-common-SqlMap.xml
- Fixed count query result processing (max of nothing is NULL) leading to unboxing NPEs
- All DM-modifying patches depend on DmPermissionsPatch i.e. it will normally run immediately after SQL scripts
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added isEditable, isReassignable, isClaimable and isReleasable flags to task model in REST API
- Added outcome property to task model in REST API (label instead of raw value)
- Change "definitionTypeTitle" property to "type" and fixed up fallout
- Changed UI to use the isXXX flags above rather than copious amount of repeated checks
- Updated workflow details page to use outcome label, isEditable flag and some changes following discussion with Linton
- Added tests
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21890 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- minimal-context.xml not pulling in appropriate dependencies for persistent scheduled actions
- audit failing to register CMIS change log extractor (failed locally, but not on build machine for some reason)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21852 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Added and changed localised labels for the invitation workflow to give a clearer description of the tasks (now they're exposed in the UI)
- "Save and Close" button gets hidden when displaying the invitation accepted/rejected task as it is redundant (there's nothing to save)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21847 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
- Init methods are for parameter checking; use an AbstractLifecycleBean-derived bean in bootstrap-context.xml.
- Reformatted ScheduledPersistedActionServiceImpl.java; dev-env has Eclipse settings that can be imported
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21816 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261