MySource Matrix Developer

Main Content

MySource Matrix Developer Newsletter Issue 92
Friday 15th September 2006

covers versions 3.8.6 stable, 3.10.1 stable, 3.11.0 development

News

Notes on WYSIWYG and Non-ASCII Content

This came as part of fixing bug #1214 this week, where there were problems with searching for non-ASCII content within the system. It appears that non-ASCII content entered using the WYSIWYG editor was being corrupted by the incorrect use of the Javascript escape() function.

The JavaScript escape() and unescape() functions are based on the ASCII and ISO Latin character sets, and as such can only be used on ASCII characters. If non-ASCII input is possible, you should use the encodeURIComponent() and decodeURIComponent() instead. This function differs from escape() in that it will encode a character using UTF-8 encoding rather than ASCII.

New Features

Default Bodycopy Content for CMS Package

Added to: 3.11.0 development

Changes have been made to a large number of CMS package assets so that assets now have new default content in their bodycopies and other attributes. This should reduce the time and effort required to get these assets configured in a basic way.

Default content has been added to bodycopies for the following assets: Asset Listing Page, Search Page, Search List, What's New Page, Related Asset Listing Page, Link Manager Page, Password Reset Page, User Group Manager Page, Asset Builder Page and Account Manager Page.

The bodycopies for new Asset Builder Page and Account Manager Page assets have been re-ordered so that they are in a more logical order.

Finally, the Email Format attributes for new Account Manager Page and Password Reset Page assets have been given default values.

Remap Manager Now Uses HTTP 301 Status

Added to: 3.11.0 development

The Remap Manager previously uses a JavaScript redirect to perform remaps from one page to another. It now sends a HTTP status of 301 ("Moved Permanently") when a page is remapped, eliminating the requirement for JavaScript to redirect (and the accompanying redirect message).

This has the advantage of allowing link checking software to detect the moved link (as previously it would return a status of 200 "OK"). It also has the potential to improve handling of redirect pages by caches, which are likely to handle the 301 code better than the previous redirect.

Remote Content Generates Matrix Errors

Added to: 3.11.0 development

The Remote Content Page previously failed by displaying an error. However, these errors were not the standard ones used within MySource Matrix, so they were not logged within the system.

The Remote Content Page now generates a MySource Warning message for certain errors - unable to decode URL, inability to access the server, and error responses from the server (HTTP status codes starting with 4 or 5). These will be logged to the standard error.log file.

Asset Listing: A-Z Without Unused Letters

Added to: 3.11.0 development

This relates to the keyword in the Asset Listing Page when the page is set to A-Z Listing format. Normally, this keyword would show all letters from A to Z, with letters listing no entries appearing but remaining unlinked.

A new keyword, has been added that suppresses the display of those letters with no assets to display.

Trigger Name Now Mandatory

Added to: 3.11.0 development, 3.10.2 stable

Previously, it was possible to create a Trigger without a name. Particuarly with Triggers now appearing in the asset map as shadow assets, this can get confusing. The name of the Trigger has now been made a mandatory field in response to this.

'Current Site' Option in Parameter Map

Added to: 3.11.0 development

The Parameter Map attributes now contain a new "Current Site" asset that allows the asset ID of the site currently being viewed (based on URL) to be made a mappable parameter (for such uses as replacement root nodes). This works in the same way as the previous "Current Asset" and "Current User" selections.

WYSIWYG Attributes Now Expand Asset Links

Added to: 3.11.0 development

WYSIWYG attributes now expand internal links to other assets (./?a=###) to their proper URLs when printed using keywords. This brings them into line with bodycopies.

Parent Multiple Page Asset ID Keyword

Added to: 3.11.0 development

A new keyword has been added to Multiple Page Page assets, , that is replaced with the asset ID of the parent Multiple Page asset.

This keyword has also been added to Multiple Page assets themselves, however this is functionally equivalent to the 11400 keyword.

Time of Page Generation Added to Output

Added to: 3.11.0 development

HTML pages have a comment at the top of the page listing, among other things, the date the page was generated. The time of day has now been added to this date. This allows easier debugging of caching, both from within MySource Matrix and from external caching systems such as Squid.

Planned Development

No new generic features are currently scheduled for development.

Upgrading

3.11.0 Development

Additional queries: No additional queries are required for upgrades.

Additional comments: No additional upgrade steps are required.

New Bugs Added To Bug Tracker

Bug ID 3.8.x 3.10.x Dev Description
1655 N Y Y Non-localised text in asset_manager.inc
1656 N Y Y Spelling errors (multiple)
1659 Y Y Y Workflow doesn't cascade to dependant assets when Cascade is unticked
1660 N Y N Anchor function is WYSIWYG editor not working
1662 Y Y Y Backup script tar error
1664 N Y Y Site map does not allow Asset Listing Pages to be excluded from the display of the site map
1665 N Y N Simple edit: Metadata keyword breaks HTML code
1666 N Y N Asset Map Expanding Node Indexing Problem
1667 Y Y Y PHP Warning displayed on an asset listing details screen
1670 N Y Y Account manager login form does not respect submission-url setting
1671 Y Y Y Linking sections in the custom form
1674 N Y Y Future linking cron jobs created by trigger action do not run correctly
1675 N Y Y PHP error when creating future linking cron job
1676 Y Y Y Backup script generates PHP notices at the start
1686 N Y Y The asset map fails to locate any url of the site under the folder during the initialisation
1687 Y Y Y Calendar navigator design area causes JS errors if no linked calendar page selected
1688 Y Y Y Options missing from calendar navigator design area details screen
Notes:

Bug #806 (Add keyword for asset content summary) was submitted as a feature request by Richard on 22nd July 2005 but was marked Will Not Fix. The original suggestion was to use the getContent() function however this does not provide a suitable summary for assets such as news items.

Bug #1461 (Links from calendar wysiwyg text to other parts of CMS not 'resolving' properly) was submitted as a feature request by adamlast on 29th June 2006 but was marked as a duplicate of bug #1413 (New Feature - Calendar event to behave more like a standard page) submitted by pochemuchkin on 7th June 2006, which has been resolved (see 'WYSIWYG Attributes Now Expand Asset Links' in this newsletter). The duplicate feature request has been closed.

Bug #1605 (2 Asset Lineage design areas interfere with each other) was submitted by Edward Braddock on 29th August 2006 but was marked as Can Not Replicate after developers were unable to reproduce the bug and no feedback had been received for almost three weeks.

Bug #1611 (HIPO showing spurious percentages running structured asset report) was submitted by Anthony Barnes on 30th August 2006 but was marked as Can Not Replicate after two developers were unable to reproduce the problem on the 3.10.x branch and no access was available to the system where the bug allegedly occurred.

Bug #1668 (Changing Nest Content settings do not regenerate Paint Layouts) was submitted by Luke Wright but was marked as a duplicate of bug #1541 (Cant display nested content from Default Format of Paint Layout) submitted by Scott Kim on 8th August 2006, which was fixed. The duplicate bug has been closed.

Bug #1672 (Site Map not working when using the Page Type) was submitted by Deborah Sherwood but was marked as not being a bug. The keyword is defined in the Listing Engine, rather than the asset itself, and therefore is not available as a keyword in the Site Map asset.

Bug #1677 (Incorrect wording on matrix website about cron setup) was submitted by Andrei Railean but was marked as not being a bug as the report was related to the MySource Matrix web site, rather than the product itself.

Bug #1678 (Feature - Do not remap URL.) was submitted as a feature request by Richard but was marked as a duplicate of bug #737 (Avoid Remapping Web Paths) also submitted by Richard on 28th June 2005. The duplicate feature request has been closed.

Bug #1680 (Feature - Split static and system generated redirects) was submitted as a feature request by Richard but was marked as a duplicate of bug #474 (Differentiate between Matrix remaps and custom remaps) submitted by apmcmahon on 17th February 2005. The duplicate feature request has been closed.

New Feature Requests Added To Bug Tracker

Bug ID Description
1651 Trigger name - Make it mandatory (Feature Request)
1652 FR: permit folders in designs?
1653 Feature request: nolink option in body design area
1654 FR: A-Z Asset Listing "page_list" keyword that doesn't display unused letters
1657 FR: unformatted speed_check() output
1658 FR: Remote content to allow conditional designs
1661 Calendar Picker design area needs a Print=no function
1663 Site map displays an Asset Listing's TYPE_2 dependants
1669 Delete all option for questions
1673 Add time to Page generated
1679 XSLT on RSS feeds
1681 URL specific 404 pages
1682 Parent asset id keyword
1683 And/Or related list tagging
1684 Option to suppress next/last page text if no next last.
1685 Parent of current asset in Menu design area

Bugs Fixed In The Bug Tracker

Bug ID 3.8.x 3.10.x Dev Description
1214 Y Y Y Searching doesn't work with words with different length
1538 Y Y Y Asset Map count not updating
1655 N Y Y Non-localised text in asset_manager.inc
1656 N Y Y Spelling errors (multiple)
1659 Y Y Y Workflow doesn't cascade to dependant assets when Cascade is unticked
1662 Y Y Y Backup script tar error
1664 N Y Y Site map does not allow Asset Listing Pages to be excluded from the display of the site map
1667 Y Y Y PHP Warning displayed on an asset listing details screen
1670 N Y Y Account manager login form does not respect submission-url setting
1671 Y Y Y Linking sections in the custom form
1674 N Y Y Future linking cron jobs created by trigger action do not run correctly
1675 N Y Y PHP error when creating future linking cron job
1676 Y Y Y Backup script generates PHP notices at the start
1686 N Y Y The asset map fails to locate any url of the site under the folder during the initialisation
1687 Y Y Y Calendar navigator design area causes JS errors if no linked calendar page selected
1688 Y Y Y Options missing from calendar navigator design area details screen
Add a Comment

You must click here to log in before posting comments.

View Comments

There are currently no comments for this newsletter.