TO0104 - npruehs/tome-editor GitHub Wiki

"The value type ... of the map type ... does not exist."

Summary

  • Name: MapValueTypeDoesNotExist
  • Code: TO0104
  • Category: Model Integrity
  • Severity: Error
  • Since: 0.5

Each custom map type must specify exactly one value type of the items it can hold, either a built-in type or a custom type. This type is required for providing the correct windows and controls when modifying record fields of these map types, and for serializing and exporting project data.

Example

The following steps generate this type of error:

  1. Create a new custom type.
  2. Create a new custom map type using that custom type as value type.
  3. Delete the custom type.

How To Fix

Either

  • change the value type of the map to an existing type, or
  • create a custom type with the name of the type referenced by the map.