Ticket #290 (closed defect: fixed)

Opened 19 years ago

Last modified 16 years ago

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

Changed 19 years ago by joe.rinehart

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

(In [295]) Fixes #290

Changed 16 years ago by cfgrok

  • milestone User Reported Issues (with full information) deleted

Milestone User Reported Issues (with full information) deleted

Note: See TracTickets for help on using tickets.