MySource Matrix Developer

MySource Matrix has been superseded by Squiz Matrix. This site will remain available for archival purposes only; it is not intended as a current source of Matrix information. For all the latest on Matrix, including documentation and release information, visit the Squiz Matrix site.

Main Content

MySource Matrix Developer Newsletter Issue 235
Friday 3rd July 2009

covers versions 3.20.5 stable, 3.22.1 stable, 3.23.0 development

News

New Matrix Releases due Monday

The next release of MySource Matrix will be next Monday 6th July, when versions 3.20.6 and 3.22.2 are made available.

New Features

Additional Asset Keywords in Metadata Fields

Added to: 3.23.0 development

The Asset-level keywords %asset_name_linked% and %asset_short_name_linked% are replaced in Metadata Field values where encountered.

Asset Map Icon keyword

Added to: 3.23.0 development

A Global and Asset-level keyword, %asset_type_icon% and %globals_icon_xx%, have been added which when used print the Asset Map icon of the current asset type, or that of a certain type (eg; %globals_icon_page_standard% for the Standard Page icon).

Set Session Variable Form Action

Added to: 3.23.0 development, 3.22.2 stable

This Form Action can be configured to set one or more PHP session variables upon form submission. The session variables used are user-defined and can be used in other areas of Matrix via the %globals_session_xx% Global Keyword.

The values that can be stored by this Form Action are obtained from the related Form Submission asset, such as the IP address used, the submission date and the responses given.

User Locks Details

Added to: 3.23.0 development

The first 100 locks held by a user can now be determined from the "Details" screen of Matrix User asset types.

Username availability upon Archiving User Assets

Added to: 3.23.0 development

When a Matrix User asset is set to "Archived", the held username is released for use by subseqent User assets. Upon changing the status back from "Archived", if the old username is taken by another user, a number is appended to the username to maintain the unique association (eg; fred => fred1), similar to the handling of Web Paths.

Delete Bulkmail Users Tool: Enhancements and new related Trigger Action

Added to: 3.23.0 development

A new Trigger Action "Delete Bulkmail User" has been added. This is similar to the existing Delete Bulkmail Users Tool however accepts a comma-separated string of email addresses from which to operate.

An option to move Bulkmail Users that would have been deleted into a specified Folder or User Group is included in the new Trigger Action and added to the existing Delete Bulkmail Users Tool.

Asset Web Path keyword

Added to: 3.23.0 development, 3.22.2 stable

A new Asset-level keyword, %asset_web_path%, has been added which returns the shortest Web Path assigned to the current asset.

Form Posted Condition modification

Added to: 3.23.0 development, 3.22.2 stable

The "Form Posted" Condition, available in Design Areas and Paint Layouts, has been modified to evaluate to TRUE only when the form submission is triggered via a POST submission instead of only when the POST itself is empty.

JavaScript API to Matrix

Added to: 3.23.0 development, 3.22.2 stable

A new asset "JavaScript API" has been graciously contributed by Nic Hubbard to the Web Services package. Unlike the Web Services package itself, this new asset will be released on Monday under the GPL.

The JavaScript API asset returns JSON objects in response to general asset queries. Currently this asset supports the following function calls:

  • getGeneral (asset information such as name and path)
  • getAttributes (asset attributes)
  • setAttribute
  • getMetadata (returns all metadata from all assigned schemas)
  • setMetadata (sets a single metadata field value)
  • trashAsset

Access to call these functions is controlled by an API Key value set on the "Details" screen of the JavaScript API asset. The function setApiKey() must be called in JavaScript before the first call to one of the above functions.

Each function can be independently enabled or disabled from the asset in order to limit the dynamic capabilities provided via JavaScript calls.

Planned Development

No new generic features are currently scheduled for development.

Upgrading

3.23.0 Development, 3.22.2 Stable, 3.20.6 Stable

Additional queries:

No additional queries are required.

Additional comments: 

No additional steps are required.

New Bugs Added To Bug Tracker

Bug ID 3.20.x 3.22.x Dev Description
3750 N Y Y Google map hangs when http code 620 is received
3751 Y Y Y Recurring event's keywords not working in event list asset
3752 Y Y Y Embed YouTube Fails
3754 N N N Add Variable Name in IE7 causes admin internface to reopen in right frame (not confirmed)*
3755 N Y Y Editing a table window doesn't close under Safari 4
3758 N Y Y %root_nodes% keyword broken on simple edit layout
3759 Y N N Metadata layout for simple edit interface (not confirmed)
3760 N Y N Structured Root Selector listing order problem
3761 Y Y Y Search page in Oracle 11g fails when search with multiple tree nodes. ORA-00932

(* Reported as occurring in 3.18.x builds)

Notes:
Bug #3681 ("Metadata design areas not working as expected", reported by dnitsche on May 21st) was marked "Can not replicate" after no further feedback was received by the bug lodger.

Bug #3704 ("apostrophe in XML Data Source output shows only remaining of the elements content") has been reopened as this has since been confirmed as a rare condition when parsing XML in this asset type.

Bug #3727 ("Preview differences for unapproved content", reported by Richo on Jun 15th) was marked "Can not replicate" after no further feedback was received by the bug lodger.

Bug #3756 ("Metadata for DC.title for MS-word documents not updating", reported by mitch on Jul 1st) was marked "Can not replicate". This could not be replicated on development systems and has been lodged with Support for investigation on the reported system.

New Feature Requests Added To Bug Tracker

Bug ID Description
3753 Nested Asset Listing with arbitrary paint layout applied returns incorrect replacement root node
3757
Thank You Page for Form sometimes displays html in frontend
3762 Can we have a "Comment" text area in every Details screen?

Bugs Fixed In The Bug Tracker

Bug ID 3.20.x 3.22.x Dev Description
3738 Y Y Y Replace Text not working properly in Wysiwyg when text is selected
3750 N Y Y Google map hangs when http code 620 is received
3751 Y Y Y Recurring event's keywords not working in event list asset
3752 Y
Y Y Embed YouTube Fails
3755 N
Y Y Editing a table window doesn't close under Safari 4