Zorba_SerializerOptions should not silently ignore invalid parameter values

Bug #959079 reported by Chris Hillery
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
New
Medium
Chris Hillery

Bug Description

Zorba_SerializerOptions::SetSerializerOption() converts string parameter/value pairs to enumerated values. It perforce checks for all possible valid parameter names, and all valid values for each parameter. However, it silently ignores any invalid parameter names or values. This method is tied directly to the Zorba's -z (--serialization-parameter) command-line options, which means that any typos on the command line silently do nothing. eg,

  zorba -q '1' -z undeclare-prefixes=foo

reports no error; nor does

  zorba -q '1' -z indeclare-prefixes=yes

Chris Hillery (ceejatec)
Changed in zorba:
assignee: nobody → Chris Hillery (ceejatec)
importance: Undecided → Medium
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.