Ticket #213 (closed enhancement: fixed)

Opened 19 years ago

Last modified 16 years ago

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:

&lt;cfset keyString = "<xsl:for-each select="object/properties/property"><xsl:if test="primarykey = 'true'">&amp;<xsl:value-of select="alias"/>=#urlEncodedFormat(<xsl:value-of select="alias"/>)#</xsl:if></xsl:for-each>" /> &lt;tr &lt;cfif currentRow mod 2 eq 0&gt;class="even"&lt;/cfif&gt;&gt;

Change History

Changed 19 years ago by joe.rinehart

  • version set to 2.0
  • type changed from defect to enhancement
  • milestone set to Feature Requests

Changed 19 years ago by joe.rinehart

  • status changed from new to closed
  • resolution set to fixed

Fixed at some point in Transfer integration.

Changed 16 years ago by cfgrok

  • milestone Feature Requests deleted

Milestone Feature Requests deleted

Note: See TracTickets for help on using tickets.