Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#857 closed defect (invalid)

Javadoc for SessionService.newSession is misleading

Reported by: Johan Enell Owned by: Nicklas Nordborg
Priority: trivial Milestone: BASE 2.5
Component: webservices Version: trunk
Keywords: Cc:


I don't know if this is a bug or a feature...

When you call the WS SessionService.newSession with no parameter it returns a new session. I got the impression that you must specify your client to get a session. If you call the method with an id that isn't present it returns no session.

Change History (3)

comment:1 by Nicklas Nordborg, 16 years ago

Milestone: BASE 2.5
Priority: majortrivial
Resolution: invalid
Status: newclosed

The client ID is an optional parameter as documented in: Application.newSession()

I think the web services documentation needs to clarify this. If given a non-existing ID an exception is (isn't it?) thrown.

comment:2 by Nicklas Nordborg, 16 years ago

(In [4028]) References #857. Updated documentation

comment:3 by Nicklas Nordborg, 16 years ago

Milestone: BASE 2.5
Summary: WebService newSession with null parameter returns a sessionJavadoc for SessionService.newSession is misleading
Note: See TracTickets for help on using tickets.