Bug 142033 - Deprecated warnings after Struts 1.2.4 upgrade
Summary: Deprecated warnings after Struts 1.2.4 upgrade
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Network
Classification: Red Hat
Component: RHN/R&D
Version: RHN Devel
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Michael Bowman
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: rhnMilestone1
TreeView+ depends on / blocked
 
Reported: 2004-12-06 20:36 UTC by Jesus M. Rodriguez
Modified: 2007-04-18 17:16 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2005-03-30 17:38:41 UTC


Attachments (Terms of Use)

Description Jesus M. Rodriguez 2004-12-06 20:36:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041001
Firefox/0.10.1

Description of problem:
The following action classes are using deprecated code from Struts.
We're using ActionError which was deprecated in 1.2.0, we should
be using ActionMessage:

LoginAction.java
CreateUserAction.java
UserEditAction.java
ChangeEmailAction.java
RhnValidationHelper.java

RhnMockDynaActionForm uses the clear() method which has also been
deprecated. According to the documentation, we no longer need it:
"Deprecated. No longer need to Clear our cache of DynaActionFormClass
instances."


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
Turn on deprecated warnings in Eclipse and watch the errors fly.

Expected Results:  Expect our code to be clean of deprecated warnings.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.