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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #13377 Fri Mar 09 14:25:04 MST 2007 frank.ye Fix for ICE-1317, checking user input invalid component family name resulting null tagName.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/custom/uiseries-renderer.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/java/com/icesoft/metadata/generators/TagLibraryGenerator.java
        Frank Ye created issue -
        Frank Ye made changes -
        Field Original Value New Value
        Assignee Ken Fyten [ ken.fyten ] Frank Ye [ frank.ye ]
        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.
        Frank Ye made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.6 [ 10031 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.6DR#2 [ 10040 ]
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Frank Ye [ frank.ye ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: