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

Unnecessary check for UIForm component in ScheduleDetailedDayRenderer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.2-SNAPSHOT
    • 1.1.2
    • None
    • None

    Description

      ScheduleDetailedDayRenderer includes the lines:

      UIForm parentForm = getParentForm(schedule);

      if (parentForm == null)

      { throw new NullPointerException("No parent UIForm found"); }

      However, if the schedule is readonly then the form component is not required e.g. on a printable page.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pmahoney Peter Mahoney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: