Bug #5029

PUBLIC_CLOUD variables do not accept ,

Added by OpenNebula Systems Support Team over 4 years ago. Updated about 4 years ago.

Status:NewStart date:02/17/2017
Priority:SponsoredDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 5.6
Resolution: Pull request:
Affected Versions:OpenNebula 5.2

Description

Values with , character and variables break the parser:

[VirtualMachineAllocate] Error parsing: TEST=$CPUone,two@^_^@TEST2=$MEMORY. syntax error, unexpected COMMA, expecting OBRACKET or EOA at line 1, columns 13:14

Escaping the , with \, works but the character continues to be escaped in the final string:

    <PUBLIC_CLOUD>
      <TEST><![CDATA[\,two]]></TEST>
      <TEST2><![CDATA[1]]></TEST2>
    </PUBLIC_CLOUD>

History

#1 Updated by Miguel Ángel Álvarez Cabrerizo over 4 years ago

  • Status changed from Pending to New
  • Target version set to Release 5.4

#2 Updated by Ruben S. Montero about 4 years ago

  • Target version changed from Release 5.4 to Release 5.6

Also available in: Atom PDF