Skip to content

Can't get whole string if start with number #189

@jma1987

Description

@jma1987

Please ensure the following information is supplied for new issues:

  • Riak Node.js Client version
    2.4.0
  • Node.js version
    6.11.3
  • Riak version
    Unknown
  • Operating System / Distribution & Version
    MAC
  • Riak error.log file, if applicable
  • What commands were being executed during the error
    Search.prototype.onSuccess = function(rpbSearchQueryResp)
  • What you expected to have happen
    We can't get whole string if it's start with number. For example 123abc, we get 123 when executing search.
    Root cause is we need to check it's a whole number or not first.
    The method is "function maybeIsNumber(n)" in utils.js.
    Please see my pull request. Fix string start with number issue #188

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions