TO0303 - npruehs/tome-editor GitHub Wiki

"The field ... is never assigned and always has its default value."

Summary

  • Name: FieldAlwaysHasItsDefaultValue
  • Code: TO303
  • Category: Redundant Model
  • Severity: Warning
  • Since: 0.9

Each field has a default value and may be assigned to one or more records. Fields that have the exact same value for all records may indicate that the field is redundant.

Example

The following steps generate this type of error:

  1. Add a field.
  2. Add the field to one or more records.
  3. Never assign any other field value to any of these records.

How To Fix

Either

  • change the field value for any of these records,
  • change the field default value and the field value for all of these records, or
  • remove the field.