Opened 7 years ago

Last modified 3 years ago

#4698 closed defect

Use prototype serialization code — at Version 1

Reported by: fatherbushido Owned by:
Priority: Must Have Milestone: Alpha 24
Component: Core engine Keywords:
Cc: leper, Krinkle Patch:

Description (last modified by fatherbushido)

The commit in r19147 and r19154 shows issues with serialization of prototype (for js vector objects).

Here is a sum up of forum discussions (mainly a leper's investigation).

We have unused prototype serialization code (#407), that should most likely be used (see #1089 for an use for AI deserialization). Though it might be worth considering not making this opt-in (or at least failing loudly if we try to serialize something with an unknown prototype).

The attached diffs are wip, possibly broken and ugly (from leper). It shows the breakage though it seems that the test is incomplete.

Change History (3)

by fatherbushido, 7 years ago

by fatherbushido, 7 years ago

comment:1 by fatherbushido, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.