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

Infinite while loop in PropertyValidator#createUnresolvablePropertyMessage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 6.18.0, 7.0.0-M4
    • None
    • wicket-bean-validation
    • None

    Description

      PropertyValidator's createUnresolvablePropertyMessage method may stuck in infinite while loop.

      while (true)
      {
      	if (model == null)
      	{
      		break;
      	}
      	if (model instanceof IPropertyReflectionAwareModel)
      	{
      		break;
      	}
      	if (model instanceof IWrapModel<?>)
      	{
      		model = ((IWrapModel<?>)model).getWrappedModel();
      		continue;
      	}
      }
      

      Attachments

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              simokivimaki Simo Kivimäki
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: