You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2006/05/30 13:53:16 UTC

[jira] Created: (SB-24) Implementation-specific extra attributes are not loaded

Implementation-specific extra attributes are not loaded
-------------------------------------------------------

         Key: SB-24
         URL: http://issues.apache.org/struts/browse/SB-24
     Project: Sandbox
        Type: Bug

  Components: Standalone Tiles  
    Versions: 1.0    
 Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
    Reporter: Antonio Petrelli


All the implementation specific extra attributes, at least:
DefinitionsFactory.READER_IMPL_PROPERTY
and
DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
are not loaded at all.
The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli reopened SB-24:
--------------------------------

             
As Wendy Smoak wrote in this message:
http://www.mail-archive.com/dev%40struts.apache.org/msg23937.html

The test fails with the following error:

-------------------------------------------------------------------------------
Test set: org.apache.tiles.TestTilesServlet
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec <<< FA
ILURE!
testCustomizedInitTilesServlet(org.apache.tiles.TestTilesServlet)  Time elapsed:
0.015 sec  <<< FAILURE!
junit.framework.AssertionFailedError: MockComponentDefinitions not used. expecte
d:<3> but was:<2>
       at junit.framework.Assert.fail(Assert.java:47)
       at junit.framework.Assert.failNotEquals(Assert.java:282)
       at junit.framework.Assert.assertEquals(Assert.java:64)
       at junit.framework.Assert.assertEquals(Assert.java:201)
       at org.apache.tiles.TestTilesServlet.testCustomizedInitTilesServlet(Test
TilesServlet.java:103) 

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0
>
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work started: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Work on SB-24 started by Antonio Petrelli.

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli resolved SB-24.
--------------------------------

    Resolution: Fixed

Modified: /tiles-core/src/test/java/org/apache/tiles/TestTilesServlet.java
Its check against instance count of MockComponentDefinitions was wrong.

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0
>
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Work stopped: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Work on SB-24 stopped by Antonio Petrelli.

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli updated SB-24:
-------------------------------

    Attachment: tiles-patch.diff

Patch to resolve the issue.
This patch let the two mentioned missing extra attributes be loaded in the configuration.

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>          Key: SB-24
>          URL: http://issues.apache.org/struts/browse/SB-24
>      Project: Sandbox
>         Type: Bug

>   Components: Standalone Tiles
>     Versions: 1.0
>  Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>     Reporter: Antonio Petrelli
>  Attachments: tiles-patch.diff
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli resolved SB-24.
--------------------------------

    Fix Version/s: 2.0
       Resolution: Fixed

Patch applied, also updated the test cases.
Modified files:
/tiles-core/src/main/java/org/apache/tiles/DefinitionsFactoryConfig.java
/tiles-core/src/test/java/org/apache/tiles/mock/MockComponentDefinitions.java
/tiles-core/src/test/java/org/apache/tiles/TestTilesServlet.java

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0
>
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli reassigned SB-24:
----------------------------------

    Assignee: Antonio Petrelli

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>                 Key: SB-24
>                 URL: http://issues.apache.org/struts/browse/SB-24
>             Project: Sandbox
>          Issue Type: Bug
>          Components: Tiles
>    Affects Versions: 2.0
>         Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>         Attachments: tiles-patch.diff
>
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (SB-24) Implementation-specific extra attributes are not loaded

Posted by "Antonio Petrelli (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/struts/browse/SB-24?page=all ]

Antonio Petrelli updated SB-24:
-------------------------------

    Attachment: tiles-patch.diff

Patch to resolve the issue.
This patch let the two mentioned missing extra attributes be loaded in the configuration.

> Implementation-specific extra attributes are not loaded
> -------------------------------------------------------
>
>          Key: SB-24
>          URL: http://issues.apache.org/struts/browse/SB-24
>      Project: Sandbox
>         Type: Bug

>   Components: Standalone Tiles
>     Versions: 1.0
>  Environment: JDK 1.5.0_06 both in Windows 2000 and Linux (Ubuntu Breezy), Tomcat 5.5.17
>     Reporter: Antonio Petrelli
>  Attachments: tiles-patch.diff
>
> All the implementation specific extra attributes, at least:
> DefinitionsFactory.READER_IMPL_PROPERTY
> and
> DefinitionsFactory.DEFINITIONS_IMPL_PROPERTY
> are not loaded at all.
> The consequence is that it is not possible to specify a different implementation of DefinitionsReader and ComponentDefinitions

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira