TO0300 - npruehs/tome-editor GitHub Wiki

"The component ... is defined but has no fields."

Summary

  • Name: ComponentHasNoFields
  • Code: TO300
  • Category: Redundant Model
  • Severity: Warning
  • Since: 0.9

Each field may or may not be assigned to a component. Components that haven't assigned any field will never have any effect and will never be exported.

Example

The following steps generate this type of error:

  1. Add a component.
  2. Add one or more fields to the component.
  3. Remove all fields assigned to the component again.

How To Fix

Either

  • add any field to the component, or
  • remove the component.