Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2409

improve diagnostics during tag execution component binding failures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1-core
    • 2.1.0-core
    • None
    • None

    Description

      2 places where error reporting can be improved is in

      1. UIXComponentELTag.doStartTag()
      We could add a try/catch around the super.doStartTag(), do some severe logging (eg.log a scoped id) in response to exceptions, and re-throw.

      2. UIXComponentELTag.createComponent()
      This might be a reasonable place to detect the cases where a component that you pull out of a component binding during createComponent() is already attached to some component tree- and thus the (severe) error is justified.

      Attachments

        1. jira-2409.patch
          7 kB
          Pavitra Subramaniam

        Activity

          People

            jeanne.waldman@oracle.com Jeanne Waldman
            pasubra Pavitra Subramaniam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: