Opened 14 years ago

Closed 14 years ago

Last modified 14 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:

Description

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 Changed 14 years ago by Nicklas Nordborg

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 Changed 14 years ago by Nicklas Nordborg

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

comment:3 Changed 14 years ago by Nicklas Nordborg

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.