Skip to content

AspectPropertyValue reads the string "noValue" given as a value as no value #155

Open

Description

@jwrosewell

AspectPropertyValue.__init__ takes value = "noValue" as its default and sets a value only when value != "noValue" (aspectproperty_value.py lines 37 and 52 at rc cf904f8e). So a property whose real value is the text "noValue" reads as having no value, and value() raises. The default should be a private marker object that no caller can pass by accident. Changing it changes what a caller who passes "noValue" on purpose gets, so it needs a "Before you upgrade" note and is left out of the no value message draft (#134).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions