Ticket #290 (closed defect: fixed)
TransferAdapter uses name when it should use alias
| Reported by: | dtoalrossi | Owned by: | somebody |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Version: | Severity: | blocker | |
| Keywords: | Cc: |
Description
I got the following error when doing a genericCommit:
The method 'getdept_facility_id' could not be found in component C:\Inetpub\wwwroot\transfer\com\TransferObject.cfc.
Problem solved by changing the following in TransferAdaptor.cfc, line 144:
<cfif fields[i].primaryKey>
<cfset arrayAppend(result.primaryKeys, fields[i].name) />
</cfif>
To:
<cfif fields[i].primaryKey>
<cfset arrayAppend(result.primaryKeys, fields[i].alias) />
</cfif>
Should I commit this?
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)