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

Two different ways of providing WuPropertyTypes causing confusion

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: Internal
    • Labels:
      None

      Description

      IConstWUScopeIterator::playProperties has first argument as WuPropertyTypes.  This is causing some confusion as the WuScopeFilter may also have WuPropertyTypes to be set (through a call to WuScopeFilter::addOutputProperties). WuPropertyTypes may be set in 2 different locations, potentially to 2 different inconsistant values.

      e.g.

      wuScopeFilter.addOutputProperties(PTall);

      Owned<IConstWUScopeIterator> iter = &workunit->getScopeIterator(wuScopeFilter);
      ForEach(*iter)
      {
          iter->playProperties(PTstatistics, wuDetailsVisitor);

      ....

      Gavin Halliday Is it possible to remove the WuPropertyTypes parameter from playProperties?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ghalliday Gavin Halliday
                Reporter:
                shamser Shamser Ahmed
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: