Announcement

Collapse
No announcement yet.

channelstatusserverlet has bug

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • channelstatusserverlet has bug

    the getChannelStatusList with includeUndeployed para has no effect on result.

    I found the code is :
    public List<DashboardStatus> getChannelStatusList(Set<String> channelIds, boolean includeUndeployed) {
    if (CollectionUtils.isEmpty(channelIds)) {
    return redactChannelStatuses(engineController.getChannelS tatusList());
    } else {
    return engineController.getChannelStatusList(redactChanne lIds(channelIds));
    }
    }

    so. unfinish?

  • #2
    should like this?

    public List<DashboardStatus> getChannelStatusList(Set<String> channelIds, boolean includeUndeployed) {
    if (CollectionUtils.isEmpty(channelIds)) {
    return redactChannelStatuses(engineController.getChannelS tatusList(null,includeUndeployed));
    } else {
    return redactChannelStatuses(engineController.getChannelS tatusList(redactChannelIds(channelIds),includeUnde ployed));
    }
    }

    Comment


    • #3
      Looks like that was missed. Thanks for catching it; I've fixed it in trunk.
      Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

      Nicholas Rupley
      Work: 949-237-6069
      Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


      - How do I foo?
      - You just bar.

      Comment

      Working...
      X