[overlord-issues] [JBoss JIRA] (SRAMP-185) Query CLI command - require the query to be in quotes (no more concat'ing multiple arguments)

Eric Wittmann (JIRA) jira-events at lists.jboss.org
Wed May 1 09:58:54 EDT 2013


     [ https://issues.jboss.org/browse/SRAMP-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Wittmann updated SRAMP-185:
--------------------------------

    Git Pull Request: https://github.com/Governance/s-ramp/pull/244

    
> Query CLI command - require the query to be in quotes (no more concat'ing multiple arguments)
> ---------------------------------------------------------------------------------------------
>
>                 Key: SRAMP-185
>                 URL: https://issues.jboss.org/browse/SRAMP-185
>             Project: S-RAMP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Client, Core
>    Affects Versions: 0.1.1
>            Reporter: Lukas Krejci
>            Assignee: Eric Wittmann
>             Fix For: 0.2.0 - Milestone 4
>
>
> Update
> ------
> The s-ramp Query CLI command should be updated to require a single argument (rather than accepting multiple arguments and concat'ing them).  In addition, the tab-completion should be updated to add at least the leading " (so users don't forget it).  Even better, if the tab-completion can add *both* the leading and trailing quotes and position the cursor between them, that would be ideal.
> Original Report (historical context)
> ------------------------------------
> s-ramp> query /s-ramp[xp2:matches(@contentType, '.*')]
> Querying the S-RAMP repository:
>         /s-ramp[xp2:matches(@contentType, .* )]
> FAILED to query the repository.
>         Unterminated argument list.
> s-ramp> query /s-ramp[xp2:matches(@contentType, ".*")]
> Querying the S-RAMP repository:
>         /s-ramp[xp2:matches(@contentType, .* )]
> FAILED to query the repository.
>         Unterminated argument list.
> s-ramp> query /s-ramp[xp2:matches(@contentType, "a")]
> Querying the S-RAMP repository:
>         /s-ramp[xp2:matches(@contentType, a )]
> FAILED to query the repository.
>         Expected a string literal as the argument (the only supported argument type for the argument).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the overlord-issues mailing list