Ticket #1643 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

The chat area spits error pages when a user is not sending messages

Reported by: madarche Assigned to: trac
Priority: P2 Milestone: CPS 3.4.1
Component: CPSChat Version: TRUNK
Severity: normal Keywords:
Cc:

Description

The chat area spits error pages when a user is not sending messages.

The error occurs each time there is a JavaScript? refresh if the user input area is empty.

Error Type:     KeyError
Error Value:    

'message'

Traceback:

Traceback (innermost last):

    * Module ZPublisher.Publish, line 113, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Products.CMFCore.FSPythonScript, line 108, in __call__
    * Module Shared.DC.Scripts.Bindings, line 311, in __call__
    * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 164, in _exec
    * Module None, line 4, in cps_chat_post_message
      <FSPythonScript at /cps/cps_chat_post_message used for /cps/members/manager/my_chat>
      Line 4
    * Module AccessControl.ZopeGuards, line 67, in guarded_getitem

KeyError: 'message'

Change History

05/09/06 11:56:12 changed by madarche

  • status changed from new to closed.
  • resolution set to fixed.

Fixed by [45353].