#401 ServletUnitServletContext.log

closed-fixed
None
7
2008-04-13
2008-01-04
No

The log method is empty meaning that messages are dropped instead of being logged anywhere. In developing portletUnit based on servletUnit, this causes a problem be cause Pluto reports errors on using the context log and these messages get lost.

What I would like to see is a static OutputStream added to the class. It would default to System.out. There would then be a static method that allows the OutputStream to be set to some other output stream by the test case.

Discussion

  • Wolfgang Fahl

    Wolfgang Fahl - 2008-01-22

    Logged In: YES
    user_id=1220573
    Originator: NO

    Matt wrote:
    >I would like to work on httpunit issue 1864072. It is a minor change that will really help the portletUnit project.
    >I will send you the change.
    Ok I've assigned the Bug to myself

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-01-22
    • priority: 5 --> 7
    • assigned_to: nobody --> wolfgang_fahl
    • status: open --> open-accepted
     
  • Matthew O. Smith

    Logged In: YES
    user_id=539130
    Originator: YES

    File Added: ServletUnitContext.java

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-03-29
    • status: open-accepted --> pending-fixed
     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-03-29

    Logged In: YES
    user_id=1220573
    Originator: NO

    Can you please post a test case or instructions for
    reproducing the problem? We need to be able to run it, so either
    point to a public web site or use PseudoServer.

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-03-29

    Logged In: YES
    user_id=1220573
    Originator: NO

    I've added your patch but would appreciate to also get a test case for it.

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks