Free cookie consent management tool by TermsFeed Policy Generator

Opened 14 years ago

Closed 13 years ago

#1527 closed defect (obsolete)

Types returned by persistence do not include types from `System.Type` objects

Reported by: cneumuel Owned by: epitzer
Priority: medium Milestone:
Component: Persistence Version: 3.3.4
Keywords: Cc:

Description

When an object is serialized it returns a list of types found in the serialization process:

XmlGenerator.Serialize(obj, memStream, ConfigurationService.Instance.GetConfiguration(new XmlFormat()), false, out types);

HeuristicLab Hive relies on those types to discover which plugins are needed for a job. However if System.Type objects are used in the serialized objects the type which is described by the System.Type objects are not included. This causes the deserialization to fail because the corresponding assemblies are missing.

Change History (4)

comment:1 Changed 13 years ago by epitzer

  • Milestone changed from HeuristicLab 3.3.5 to HeuristicLab 3.3.6

comment:2 Changed 13 years ago by epitzer

  • Milestone changed from HeuristicLab 3.3.6 to HeuristicLab 3.3.7

comment:3 Changed 13 years ago by ascheibe

I have taken a look at the code in Hive where this ticket is referenced. This ticket was actually originally created because of a problem with MetaOpt. I have removed the workaround in the code and made some adjustments in the MetaOpt (r7152 and r7153) and everything seems to work fine. Of course this was not extensively tested, but maybe we don't need the feature described here. Or I have overlooked something. Anyway, I just wanted to mention this and if there are no problems in the future when I have time to take a closer look at the MetaOpt, we could eventually close this ticket.

comment:4 Changed 13 years ago by abeham

  • Milestone HeuristicLab 3.3.7 deleted
  • Resolution set to obsolete
  • Status changed from new to closed

This feature is not needed anymore.

Note: See TracTickets for help on using tickets.