Ticket #74 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Multiple unit tests get this error message

Reported by: mike Owned by: mike
Priority: normal Milestone: alpha-test
Component: unit-tests Version: 0.1-alpha
Keywords: Cc:
Estimated Effort: 1 day Platform:
State: Relative Size:

Description

Problem

This error message appears in multiple unit tests:

    raise InsecureJelly("Class not allowed for instance: %s %s" %
twisted.spread.jelly.InsecureJelly: Class not allowed for instance: Server.Serve
r <Server.Server instance at 0x407b314c>

Change History

Changed 6 years ago by mike

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

Solution

It's related to events. When an event is broadcast that has a non Cacheable or non Copyable as a subject/object/preposition, it still tries to send it over the wire instead of converting to a noun first.

I added checks for subject and object. Preposition will need to be done as well.

Note: See TracTickets for help on using tickets.