Ticket #213 (closed enhancement: fixed)
Scaffold queries fail with dot-separated object name
| Reported by: | seancorfield | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Version: | 2.0.304 | Severity: | critical |
| Keywords: | Cc: |
Description
As part of my Transfer integration, I tripped over some lines in the XSL that use the fully qualified query variable name to reference columns. Since Transfer allows dot-separated object names (because it allows you to group objects into packages), those dot-separated names filter through the scaffold-generated code.
list.xsl lines 43, 44 need to remove the <alias>Query. qualification part per this:
<cfset keyString = "<xsl:for-each select="object/properties/property"><xsl:if test="primarykey = 'true'">&<xsl:value-of select="alias"/>=#urlEncodedFormat(<xsl:value-of select="alias"/>)#</xsl:if></xsl:for-each>" /> <tr <cfif currentRow mod 2 eq 0>class="even"</cfif>>
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)