Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-204

Non-BeanManaged converter warning is too verbose

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1.0.Beta4
    • Component/s: None
    • Labels:
      None

      Description

      Adding this to a page - <f:converter converterId="com.ocpsoft.PrettyTimeConverter"/> will throw a WARN message in the logs on every invoke

      15:05:05,454 WARN [org.jboss.seam.faces.environment.SeamApplicationWrapper] Using JSF provided instance, unable to find a BeanManaged instance for class
      com.ocpsoft.pretty.time.web.jsf.PrettyTimeConverter

      This was suppressed for standard javax.* converters here https://github.com/seam/faces/commit/5e1d8ed972fcc9074210b1e214e355352ac08a5a but should probably move to DEBUG level as some converters like PrettyTime will never be beanmanaged.

        Gliffy Diagrams

          Activity

          Hide
          slominskir Ryan Slominski added a comment -

          Even if you do have a bean managed converter you can still get this warning if you create an inheritance hierarchy in your converters. See the discussion here: http://www.seamframework.org/Community/Seam3ProductionReady

          Show
          slominskir Ryan Slominski added a comment - Even if you do have a bean managed converter you can still get this warning if you create an inheritance hierarchy in your converters. See the discussion here: http://www.seamframework.org/Community/Seam3ProductionReady

            People

            • Assignee:
              clerum Cody Lerum
              Reporter:
              clerum Cody Lerum
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development