Ticket #129 (new defect)
gatway.project.xsl getByFields breaks on column aliased 'x'
| Reported by: | cbradford | Owned by: | dhughes |
|---|---|---|---|
| Type: | defect | Priority: | high |
| Milestone: | 1.0 Release | Component: | Reactor - Reactor XSL |
| Version: | 1.0 | Severity: | critical |
| Keywords: | Cc: |
Description
The XSL that generates the getByFields method breaks if a field on the object is aliased as 'x', because it creates a var named x to be used internally in the function. The same would be true if a column were aliased 'query' or 'where', since those are also declared as vars, and the arguments are generated using the field aliases. This creates a "Cannot declare local variable x twice" error when trying to compile the generated Gateway.
Fix would be to rename the vars with underscores or something similar.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

