Handpicked rule editInPlace incorrect logic in page title for displayName
Description
Line 16 of /webskin/rules/editInPlace.cfm:
<h1>EDIT: <cfif not structkeyexists(application.stCOAPI[stObj.typename],"displayname")>#application.stCOAPI[stObj.typename].displayname#<cfelse>#stObj.typename#</cfif></h1>
The way it is currently causes the rule component displayname attribute to be ignored, this makes the rule presentation look technically ugly to end-users..
Environment
None
Activity
Show:
Geoff Bowers
May 29, 2012 at 3:08 AM
This refers to the Handpicked rule. Lot of changes here i think since this ticket was raised. Need to confirm whether or not this is still an issue.
Line 16 of /webskin/rules/editInPlace.cfm:
<h1>EDIT: <cfif not structkeyexists(application.stCOAPI[stObj.typename],"displayname")>#application.stCOAPI[stObj.typename].displayname#<cfelse>#stObj.typename#</cfif></h1>
should be
<h1>EDIT: <cfif structkeyexists(application.stCOAPI[stObj.typename],"displayname")>#application.stCOAPI[stObj.typename].displayname#<cfelse>#stObj.typename#</cfif></h1>
The NOT needs to be removed.
The way it is currently causes the rule component displayname attribute to be ignored, this makes the rule presentation look technically ugly to end-users..