Ticket #190 (closed defect: fixed)
View label incorrect when using field alias
| Reported by: | Bryan S | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
<reactor>
<objects>
<object name="MyNewTableName?" >
<field name="ColOne?" alias="MyFieldAliasName?" />
</object>
</objects>
</reactor>
causes the label for the field to display like this MyNewTableName?15.MyFieldAliasName?.label:
Changing D:\Inetpub\wwwroot\ModelGlue?\unity\orm\ReactorAdapter?.cfc getObjectMetadata() as follows causes it to display correctly like this My Field Alias Name:
Original <cfset md[fields[i].alias].label = dict.getValue("#arguments.table#.#fields[i].alias#.label") />
Suggested <cfset md[fields[i].alias].label = dict.getValue("#fields[i].alias#") />
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)