Sterling Hughes created MYNEWT-483:
--------------------------------------

             Summary: newt target set with colon creates unrecoverable error
                 Key: MYNEWT-483
                 URL: https://issues.apache.org/jira/browse/MYNEWT-483
             Project: Mynewt
          Issue Type: Bug
          Components: Newt
    Affects Versions: v1_0_0_beta1
            Reporter: Sterling Hughes
            Assignee: Christopher Collins
             Fix For: v1_0_0_beta1


If you set a syscfg with newt target set: 

newt target set tgtname syscfg="MY_SYSCFG:1"

then you will get an interface panic everytime you call newt in that directory. 
 This is because, obviously, newt interprets the colon as a separation of 
syscfg values and not an assignment.  In the syscfg.yml file you see the 
variable set as:
   1: 1
However, this should be caught upon input, and newt should not panic on every 
command once this is set, but rather handle this case gracefully.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to