Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-13631

ecl if statement inconsistent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Not specified
    • Resolution: Won't Do
    • None
    • None
    • ecl command
    • dataland

    Description

      In this issue, the individual has too many records coming back from Fetch_Gong_History causing the doxie.phone_noreconn_search() service to fail which is expected.
      However, when turning off Gong_history via the 'ExcludeCurrentGong' parameter, I noticed that the service was still failing.
      This is occurring because there is an 'exists(gong_recs)' call being made despite 'ExcludeCurrentGong' being turned on.

      I thought the fix would be as simple as surrounding it with an if (or iff) condition but to my surprise it still fails.

      I recreated a little code snippet illustrating the problem for you to look at. Here are the links (workunits) and the issue at hand:

      I don’t understand why out2 succeeds and out1 fails when they both essentially pass in ‘true’ as the if condition! I would expect the fail condition not to execute in both if statements!

      Bugzilla_ticket_181171

      Attachments

        Activity

          People

            ghalliday Gavin Halliday
            dabittan Dan Abittan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: