Skip to content

Seems to be a bug in SourceTransforms.vb in the Process method #1

@FactEngineCommunity

Description

@FactEngineCommunity

There seems to be a bug in SourceTransforms.vb in the Process method.

Where the code checks to see whether the end of a set of If...Then...ElseIf... statements in Transformations code, the following code was not allowing the last ElseIf Node/BlockOfCode to be executed (in the Process method).

              Else 'Up to the end
                            'Bug found: Will not process the last elseif when "-1" is left in below.
                            upper = node.Nodes.Count - 1

We changed the code to the following and it worked fine:
Else 'Up to the end
upper = node.Nodes.Count

The error was that the last 'Transform' was not being done, and where, for instance, if we were modifying a col field variable, the default would be returned rather than the transform. This, at least, in our copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions