History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FC-607
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Critical Critical
Assignee: Geoff Bowers
Reporter: Michael J Sammut
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FarCry Core Framework

Configure Rules does not allow available rule types to be moved to active rule types

Created: 01/Aug/06 12:26 AM   Updated: 03/Aug/06 12:57 AM
Component/s: Libs (FAPI, etc)
Affects Version/s: 3.0.2
Fix Version/s: 3.0.2

Time Tracking:
Not Specified

Environment: Windows XP, IE 6. FF 1.5.0.5


 Description  « Hide
/admin/includes/editcontainer_js.cfm line 130 calls in the rule hint description. Hard break in some hints (ruleChildLinks, ruleRandomFacts, ruleNews, ruleHandPicked) appear to be causing an unterminated string literal.

Possible fix is to update the hint in each rule*.cfc and remove hard breaks. I have tested this and it does correct the issue.


Example change rule hint

FROM

<cfcomponent displayname="Child Links Rule" extends="rules"
hint="List teaser displays for the current navigation folders children.
Children content types are restricted to dmHTML, dmLink and dmInclude.
This publishing rule is commonly used on section landing pages to
build a summary for the pages in the section.">

TO

<cfcomponent displayname="Child Links Rule" extends="rules"
hint="List teaser displays for the current navigation folders children. Children content types are restricted to dmHTML, dmLink and dmInclude. This publishing rule is commonly used on section landing pages to build a summary for the pages in the section.">



Example hints as they appear in rendered JS causing issue.

oRules['ruleChildLinks'].hint = 'List teaser displays for the current navigation folders children.
Children content types are restricted to dmHTML, dmLink and dmInclude.
This publishing rule is commonly used on section landing pages to
build a summary for the pages in the section.';


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Matthew Bryant - 03/Aug/06 12:57 AM
JSStringFormat() has been wrapped around the hint, thereby allowing it to be used in the javascript function as intended.