Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-7856

Shell quoting is interfering with orient comment quoting

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database
    • Labels:
      None
    • Story Points:
      1

      Description

      I'd expect this to work:

      karaf@root()> insert into repository_configuration SET repository_name='test', recipe_name='simple-hosted'
      
      Error: com.orientechnologies.orient.core.exception.OCommandExecutionException: Error on execution of command: sql.insert into repository_configuration SET repository_name=test, recipe_name=simple-hosted
      
      Error: com.orientechnologies.orient.core.exception.OValidationException: The field 'repository_configuration.recipe_name' cannot be null, record: repository_configuration{repository_name:null,recipe_name:null}
      

      ... but it does not.

      This however does work:

      karaf@root()> insert into repository_configuration SET repository_name=\'test\', recipe_name=\'simple-hosted\'
      
      Inserted record 'repository_configuration#11:0{repository_name:test,recipe_name:simple-hosted} v1' in 0.002000 sec(s).
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            jdillon Jason Dillon
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title