Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-1758

Missing "else" in shared RendererUtils.getStringValue(FacesContext, UIComponent)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.1.5, 1.2.0
    • 1.2.2
    • JSR-127, JSR-252
    • None

    Description

      The following code makes absolute no sense without an else for the "if(holder.isLocalValueSet())":

      if(component instanceof EditableValueHolder) {

      EditableValueHolder holder = (EditableValueHolder) component;

      if(holder.isLocalValueSet())

      { value = holder.getLocalValue(); }

      value = getValue(component);
      }
      else

      { value = getValue(component); }

      Plus: the local value handling is not even implemented in the 1.2.x branch!

      Attachments

        Activity

          People

            manolito Manfred Geiler
            manolito Manfred Geiler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: