annotate idavoll/implementation_issues.txt @ 38:c9ddca3cce20

Change exception classes to include stanza error. Change name of exception base class to Error. Change backend error map to have a tuple as value: stanza-error, pubsub-error. Remove empty componentConnected() definition in Service. Move registering of notification from __init__ to componentConnected in ComponentServiceFromNotificationService. Add observers for subscribe, options and configure.
author Ralph Meijer <ralphm@ik.nu>
date Sun, 31 Oct 2004 16:03:50 +0000
parents 23b1dca64d06
children 0072fc44fca8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
1 - What happens when a node creation request is accompanied by a configure
22
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
2 node, but node configuration is not implemented?
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
3
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
4 Solution:
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
5
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
6 Reply with a not-acceptable stanza error, with a node-not-configurable
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
7 error attached.
9b610962d045 Initial revision
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
8
33
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
9 - Node purging with many items in storage and notification of retraction enabled
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
10 could produce a large number of notifications. Suggestion: instead send a
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
11 <event><purge/></event>
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
12
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
13 - Examples 58 and 62 are the same
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
14
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
15 - What error to return for outcast user requests?
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
16 - What if some admin requested it?
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
17
7e9bee656986 Few more notes
Ralph Meijer <ralphm@ik.nu>
parents: 22
diff changeset
18 - Why not return forbidden when JIDs do not match on subscription?
36
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
19
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
20 - What to do when receiving an unsubscription request with a subid, when
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
21 subids are not supported? Ignore or reply with bad-request?
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
22
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
23 - unsubscription: why check for the requestor being subscribed. You want to
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
24 check if the jid is subscribed. An not-authorized can be sent if the
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
25 requestor and jid don't match. Otherwise, unexpected-request might
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
26 be appropriate when the jid is not subscribed along with a special
23b1dca64d06 More issues.
Ralph Meijer <ralphm@ik.nu>
parents: 33
diff changeset
27 child element of not-subscribed in the pubsub#error namespace.