Ticket #765 (closed Defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Core: Type Cache oddities

Reported by: jri Owned by: jri
Priority: Major Milestone: Release 4.6
Component: DeepaMehta Standard Distribution Version: 4.5
Keywords: Cc: dgf, Malte
Complexity: 3 Area:
Module: deepamehta-core

Description

When a type is deleted and the (then deleted) type is requested subsequently (via API) a bogus "Endless recursion detected" exception is raised.

Change History

comment:1 Changed 6 years ago by jri

  • Status changed from new to accepted

comment:2 Changed 6 years ago by Jörg Richter <jri@…>

In c244ab1ae33acd32958f29cd9a6fdcd0e2775bf3/deepamehta:

Core: fix type cache oddities (#765).

  1. When a type is deleted and the (then deleted) type is requested subsequently (via API) a proper "Type not found in DB" exception is raised (instead a bogus "Endless recursion detected" exception). The Endless recursion detection is simplified.
  1. When a type is deleted it is removed from the (TypeStorage?'s) Type Model cache as well. The Type Model cache does not hold stale type model objects anymore.

See #765.

comment:3 Changed 6 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.