Activiti
  1. Activiti
  2. ACT-492

Incorrect icon paths result in exceptions for CustomServiceTasks

    Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.2
    • Component/s: Designer
    • Labels:
      None
    • Number of attachments :
      0

      Description

      A number of users have run into this problem, so it's probably best to check for a null stream where possible and revert to the default icon after logging a line. Alternatively, we could run a mini-validation on newly added jar files, especially if we implement ACT-411. This could then warn/fail jars that are not complete. We could also facilitate this with a maven build plugin that performs the same kind of validation, maybe for later.

      http://forums.activiti.org/en/viewtopic.php?f=4&t=702&p=3059#p3059

        Issue Links

          Activity

          Hide
          Tiese Barrell added a comment -

          Fixed by showing error image in case any of the icons (small, large, shape) encounters an error getting the input stream in CustomServiceTaskContextImpl. Also added System.err.println statement so a developer can locate the problem.

          Show
          Tiese Barrell added a comment - Fixed by showing error image in case any of the icons (small, large, shape) encounters an error getting the input stream in CustomServiceTaskContextImpl. Also added System.err.println statement so a developer can locate the problem.

            People

            • Assignee:
              Tiese Barrell
              Reporter:
              Tiese Barrell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: