max_length and min_length properties not accepted in constraints in list type

Bug #1869350 reported by Miguel Caballer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
TOSCA Parser
Fix Released
Undecided
Miguel Caballer

Bug Description

As defined in the standard the constraints min_length and max_length can be used in constraints with list types (see section 3.5.2.1 Operator keynames of TOSCA 1.0 spec).

But with current version I get these errors:

InvalidSchemaError: Property "max_length" is not valid for data type "list".

or

InvalidSchemaError: Property "min_length" is not valid for data type "list".

Changed in tosca-parser:
assignee: nobody → Miguel Caballer (micafer1)
Changed in tosca-parser:
status: New → In Progress
summary: - max_length property not accepted in list type
+ max_length and min_length properties not accepted in list type
summary: - max_length and min_length properties not accepted in list type
+ max_length and min_length properties not accepted in constraints in list
+ type
description: updated
Changed in tosca-parser:
status: In Progress → Fix Committed
Changed in tosca-parser:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.