#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 by , 17 years ago
Milestone: | BASE 2.5 |
---|---|
Priority: | major → trivial |
Resolution: | → invalid |
Status: | new → closed |
comment:3 by , 17 years ago
Milestone: | → BASE 2.5 |
---|---|
Summary: | WebService newSession with null parameter returns a session → Javadoc for SessionService.newSession is misleading |
Background information about this can be found at:
http://base.thep.lu.se/chrome/site/trunk/html/developerdoc/api/data_api.clients.html
Note:
See TracTickets
for help on using tickets.
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.