#8 Allow getServletContextName() to return

open-fixed
nobody
None
5
2003-06-16
2003-03-10
No

getServletContextName() should simply return an empty
String. This way tests that need that functionality can
just assume the context name will be / or the default
path. With the current implementation code tested by
MockStrutsTest case needs to catch
UnsupportedOperationException in the real code so it
will run in this test harness. A one line patch is
attached to implement this.

Discussion

  • Kevin Henrikson

    Kevin Henrikson - 2003-03-10

    Logged In: YES
    user_id=88575

    Adding patch

     
  • Kevin Henrikson

    Kevin Henrikson - 2003-03-10

    Logged In: YES
    user_id=88575

    Add unified diff instead.

     
  • Deryl Seale

    Deryl Seale - 2003-04-13
    • status: open --> closed-fixed
     
  • Deryl Seale

    Deryl Seale - 2003-04-13

    Logged In: YES
    user_id=366284

    fixed in upcoming release.

     
  • Kevin Henrikson

    Kevin Henrikson - 2003-06-16
    • status: closed-fixed --> open-fixed
     
  • Kevin Henrikson

    Kevin Henrikson - 2003-06-16

    Logged In: YES
    user_id=88575

    Reopen this as the patch doesn't seem to be applied. The
    2.0 release still it thorwing the exception and looking in
    CVS this appears to still have the exception rather than
    returning an empty string.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks