ICEfaces
  1. ICEfaces
  2. ICE-1317

metadata with wrong family name leading to null tagName

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6DR#2, 1.6
    • Component/s: Tool Integrations
    • Labels:
      None
    • Environment:
      any

      Description

      user could potential input invalid <component-family> inside <renderer> element.

      <renderer>
      <component-family>com.icesoft.faces.ApplyEffectFamily</component-family>
      <renderer-type>com.icesoft.faces.ApplyEffectRenderer</renderer-type>
      </renderer>

      It results null for TagName. We need to restrict the checking and reporting user error in the generator.

        Activity

        Hide
        Frank Ye added a comment -

        Two parts changes to resolve the problem.

        Firstly, all the existing metadata should have at least a valid instance name for the component even if this component does not have a tag.

        Secondly, generator should further validate metadata, reporting problem related to specific component.

        Show
        Frank Ye added a comment - Two parts changes to resolve the problem. Firstly, all the existing metadata should have at least a valid instance name for the component even if this component does not have a tag. Secondly, generator should further validate metadata, reporting problem related to specific component.

          People

          • Assignee:
            Unassigned
            Reporter:
            Frank Ye
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: