MyFaces Core
  1. MyFaces Core
  2. MYFACES-1758

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.5, 1.2.0
    • Fix Version/s: 1.2.2
    • Component/s: JSR-127, JSR-252
    • Labels:
      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!

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Manfred Geiler
            Reporter:
            Manfred Geiler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development