export to Java doesn't like $size expression inside other expressions

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.21.2
    • Component/s: Export to Language
    • None
    • None
    • None

      When I have a valid pipeline with $size expression that works fine, it can export to Java but not if "Use Builders" is checked then it only works if $size is top level expression. Multiple attempts to export with builders other places where numbers would work give different errors:

      Using inside $slice or $range - "$size cannot be top-level"

      Using in $toString - "Cannot read property 'push' of undefined"

              Assignee:
              Unassigned
              Reporter:
              Asya Kamsky
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: