You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "carlin rogers (JIRA)" <be...@incubator.apache.org> on 2005/02/17 00:46:49 UTC

[jira] Created: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Struts validator support for the msg and args' bundle attribute is not working
------------------------------------------------------------------------------

         Key: BEEHIVE-307
         URL: http://issues.apache.org/jira/browse/BEEHIVE-307
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: carlin rogers
 Assigned to: carlin rogers 
    Priority: Minor


Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.

There's already a bug in struts on this. Here's a summary,

Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.

and the details...
http://issues.apache.org/bugzilla/show_bug.cgi?id=21760


Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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


[jira] Resolved: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-307?page=all ]
     
Rich Feit resolved BEEHIVE-307:
-------------------------------

    Fix Version: V1
                     (was: TBD)
     Resolution: Fixed
      Assign To: Alejandro Ramirez  (was: Rich Feit)

Fixed with revision 190814.  Carlin, thanks for identifying the root issue.

> Struts validator support for the msg and args' bundle attribute is not working
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-307
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-307
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Carlin Rogers
>     Assignee: Alejandro Ramirez
>     Priority: Minor
>      Fix For: V1
>  Attachments: bundles-test-patch.txt
>
> Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.
> There's already a bug in struts on this. Here's a summary,
> Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.
> and the details...
> http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
> Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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


[jira] Assigned: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Posted by "Carlin Rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-307?page=all ]

Carlin Rogers reassigned BEEHIVE-307:
-------------------------------------

    Assign To: Rich Feit  (was: Carlin Rogers)

Assigning to Rich to consider an upgrade of NetUI to use Struts 1.2.7.
Struts bug 21760 was fixed in the Struts 1.2.x on 3/29/2005 and should be 
part of the  Struts 1.2.7 release. 

There was a Struts announcement on 5/26/2005 about the GA release
of 1.2.7. 

With the upgrade we should be able to close this bug.

> Struts validator support for the msg and args' bundle attribute is not working
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-307
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-307
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Carlin Rogers
>     Assignee: Rich Feit
>     Priority: Minor
>      Fix For: TBD
>  Attachments: bundles-test-patch.txt
>
> Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.
> There's already a bug in struts on this. Here's a summary,
> Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.
> and the details...
> http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
> Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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


[jira] Updated: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Posted by "carlin rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-307?page=history ]

carlin rogers updated BEEHIVE-307:
----------------------------------

    Attachment: bundles-test-patch.txt

Here's a patch that includes a JPF to test the struts validator support 
of the bundle attribute. No need to commit this patch until the struts
fix has been released and we've integrated with the new version.

> Struts validator support for the msg and args' bundle attribute is not working
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-307
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-307
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: carlin rogers
>     Assignee: carlin rogers
>     Priority: Minor
>  Attachments: bundles-test-patch.txt
>
> Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.
> There's already a bug in struts on this. Here's a summary,
> Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.
> and the details...
> http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
> Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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


[jira] Updated: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Posted by "Carlin Rogers (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-307?page=history ]

Carlin Rogers updated BEEHIVE-307:
----------------------------------

    Fix Version: TBD
                     (was: V1)

Changing fix for to "TBD".

The Struts bugzilla issue, 21760, has been resolved in the
Struts 1.2.x branch of code. However, it is unlikely the
next 1.2.x release (1.2.7 ?) will come in time for a beehive
v1.0 release.


> Struts validator support for the msg and args' bundle attribute is not working
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-307
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-307
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>     Priority: Minor
>      Fix For: TBD
>  Attachments: bundles-test-patch.txt
>
> Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.
> There's already a bug in struts on this. Here's a summary,
> Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.
> and the details...
> http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
> Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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


[jira] Updated: (BEEHIVE-307) Struts validator support for the msg and args' bundle attribute is not working

Posted by "Steve Tocco (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-307?page=history ]

Steve Tocco updated BEEHIVE-307:
--------------------------------

    Fix Version: V1

moving to v1 (if not needed for ship, please move to Fix For = TBD)

> Struts validator support for the msg and args' bundle attribute is not working
> ------------------------------------------------------------------------------
>
>          Key: BEEHIVE-307
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-307
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>     Priority: Minor
>      Fix For: V1
>  Attachments: bundles-test-patch.txt
>
> Struts does not correctly get validator msg and args from alternate resource bundles. Struts ignores a bundle attribute defined in the validation XML msg or args element tags used in the commons-validator framework.
> There's already a bug in struts on this. Here's a summary,
> Bug 21760 already includes a patch to go into Struts to resolve this issue. The patch is dependent on some changes in Commons Validator that are part of Validator 1.1.4. Struts is waiting for a "GA" quality release of Validator 1.1.4, then will move the Struts dependency to 1.1.4 and apply the fix.
> and the details...
> http://issues.apache.org/bugzilla/show_bug.cgi?id=21760
> Unfortunately this implies that the NetUI annotations for validator msg and args alternate resource bundles will not work until the fix in struts is integrated into NetUI. User will need to keep msg and args in the default resource bundle. 

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