errors.add(:base,'Must be associated with either a RequirementsManagement::Requirement and an Issue of type `requirement`, but not both')unless!!requirement^!!requirement_issue
errors.add(:base,'Must be associated with either a RequirementsManagement::Requirement OR an Issue of type `requirement`, but not both')unless!!requirement^!!requirement_issue
end
defonly_requirement_type_issue
errors.add(:requirement_issue,'must be an issue of type `Requirement`')ifrequirement_issue&&!requirement_issue.requirement?