View Issue Details

IDProjectCategoryView StatusLast Update
0001867UApublic2012-02-21 02:32
Reporteryasu712 Assigned Toyasu712  
PrioritynormalSeverityminorReproducibilityalways
Status feedbackResolutionfixed 
Summary0001867: The behavior of CloseSession
Description

Should CloseSession Service fail if the session has not been activated?
Or should it succeed?

Specificaiton Part 4 – 5.6.3 ActivateSession – first paragraph:
This Service request shall be issued by the Client before it issues any other Service request after CreateSession. Failure to do so shall cause the Server to close the Session.

TagsNo tags attached.
Fix Due Date

Activities

Nathan Pocock

2012-02-16 21:38

viewer   ~0003314

We discussed this on the CMPWG call today (Feb-16-2012) and agreed that if a session is closed by the client, or closed by the server, that the session is still closed.

In the case where a CloseSession call is issued, but the sesssion was already closed, then the Service Result returned will be: Bad_SessionIdInvalid since that's the ONLY service-result defined for this call.

Currently the UACTT allows for Bad_SessionIdInvalid or Bad_SessionClosed which is incorrect. The script will be modified to allow Bad_SessionIdInvalid only.

yasu712

2012-02-17 01:15

reporter   ~0003315

Thank you for your support.

But I'm sorry, I could not understand your answer.

I want to confirm whether the UA server should return the error BadSessionNotActivated if UA client calls CloseSession without calling ActivateSession.
Or should UA server return OK in this case?

The following case is normal case.
1.UA client calls CreateSession
2.UA client calls ActivateSession
3.UA client calls CloseSession --> UA server returns OK.

The following case is my question's case.
1.UA client calls CreateSession
2.UA client calls CloseSession (without calling ActivateSession)
--> In this case which of the error BadSessionNotActivated or OK should UA server return?

Nathan Pocock

2012-02-17 14:27

viewer   ~0003317

The CloseSession service can return one of two codes only:

  • Good
  • Bad_SessionIdInvalid

In this case, you should return Bad_SessionIdInvalid.

yasu712

2012-02-21 02:32

reporter   ~0003321

I could understand your answer.
But I guess that there are no services that are defined to return Bad_SessionNotActivated in Part 4. (not only ColseSession)
Which services return Bad_SessionNotActivated?

Issue History

Date Modified Username Field Change
2012-02-06 07:19 yasu712 New Issue
2012-02-16 14:59 Nathan Pocock Status new => assigned
2012-02-16 14:59 Nathan Pocock Assigned To => Nathan Pocock
2012-02-16 21:38 Nathan Pocock Status assigned => resolved
2012-02-16 21:38 Nathan Pocock Resolution open => fixed
2012-02-16 21:38 Nathan Pocock Note Added: 0003314
2012-02-17 01:15 yasu712 Note Added: 0003315
2012-02-17 01:15 yasu712 Status resolved => assigned
2012-02-17 14:27 Nathan Pocock Note Added: 0003317
2012-02-17 14:27 Nathan Pocock Assigned To Nathan Pocock => yasu712
2012-02-17 14:27 Nathan Pocock Status assigned => feedback
2012-02-21 02:32 yasu712 Note Added: 0003321