Skip to content

}bedrock.cube.data.export Parallelization doesn't work if pEleDelim has more than 1 character #421

@MBonotto

Description

@MBonotto

Description
The parallelization process (using pFilterParallel) fails to work correctly if pEleDelim contains more than one character (e.g., "&&"). This issue is caused in the prolog where pFilterParallel is split into sElementList using the SubSt() function. The problem is that the second parameter (beginning) is hardcoded with a +1 instead of of considering the length of pEleDelim.
This bug applies to all the TI that use pFilterParallel.

Code with Error
Prolog line 314, 323, 333
sElementList = SubSt( pFilterParallel, Scan( pEleStartDelim, pFilterParallel ) + 1, Long( pFilterParallel ) );

Solution
sElementList = SubSt( pFilterParallel, Scan( pEleStartDelim, pFilterParallel ) + Long( pEleDelim ), Long( pFilterParallel ) );

Version

  • OS: [Windows 10]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions