MyFaces Core
  1. MyFaces Core
  2. MYFACES-3125

ValidatorTagHandlerDelegate does not invoke next handler in partial processing mode, which damages the component structure

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.6, 2.1.0
    • Component/s: None
    • Labels:
      None

      Description

      In my particular example (which I may or may not be able to extract and reproduce), I have:

      <h:form>
      <f:validateBean>
      <h:inputText />
      ...
      </f:validateBean>
      </h:form>

      In this example, the form's children are marked for deletion; then, when ValidatorTHDelegate sees that the parent is not a new component, it bails out, thus failing to invoke the next handler and re-add the child components. When the deletion is finalized the form is left with no children, which incidentally makes it impossible to complete the AJAX request as designed, since the component to re-render no longer exists! I believe this would only be a problem in wrapping mode. I have verified that removing the validateBean tag causes the form's structure to be preserved.

        Activity

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            Matt Benson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development