Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23656

Missing validation of step listener with empty attribute ref

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.4.4.AM3
    • 4.4.2.Final
    • batch
    • None
    • devex #130 April 2017
    • 10
    • Hide

      1. Import attached batch project into IDE.
      2. Create new batch job xml file
      3. Add this into job.xml file:
      <step id="my-step-listener">
      <listeners>
      <listener ref=""></listener>
      </listeners>
      </step>

      Show
      1. Import attached batch project into IDE. 2. Create new batch job xml file 3. Add this into job.xml file: <step id="my-step-listener"> <listeners> <listener ref=""></listener> </listeners> </step>

      There is missing warning in listener's tag with empty reference in source view. Empty value of reference attribute in step listener should show warning like job listener does when there is empty ref: "Job listener is expected". Please, add warning.

            jmaury@redhat.com Jeff MAURY
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: