Ticket #487 (closed Defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Core: misleading "Endless recursion" exception

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

Description (last modified by jri) (diff)

If the Core repeatedly tries to fetch a topic type with an invalid URI, up from the 2nd try a misleading "Endless recursion while loading type" exception is thrown. The proper exception would be "Topic type ... not found in DB" (as for the 1st try).

Thanks, MK, for revealing this issue.

See #485

Change History

comment:1 Changed 11 years ago by jri

  • Description modified (diff)

comment:2 Changed 11 years ago by jri

  • Status changed from new to accepted

comment:3 Changed 11 years ago by jri

  • Status changed from accepted to closed
  • Resolution set to fixed

Core: fix endless recursion protection (#487).

The type loader's endless recursion protection doesn't throw a bogus "Endless recursion" exception when repeatedly tried to load a type with an invalid URI.

Thanks to MK for revealing this issue.

Close ticket 487.

Changeset: 3eef846e909885c17c9647f2fd920eb8110ca8ec

Note: See TracTickets for help on using tickets.