Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2278

StatelessChecker is always offended

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4-RC4
    • 1.4-RC5
    • None
    • None

    Description

      org.apache.wicket.devutils.stateless.StatelessChecker:96

      final Object o = ((MarkupContainer)component).visitChildren(visitor);
      if (o == null) {
      throw new IllegalArgumentException(msg + " Offending component: " + o);
      }

      Imo this should be "o!=null" because the visitor returns null when no offending (=stateful) component was found.

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            ralf.ebert Ralf Ebert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: