Skip to content

Error in getParam function #93

@josseed

Description

@josseed

I'm submitting a ...

[] bug report => search github for a similar issue or PR before submitting
[X] feature request

Current behavior
the algorithm throw a error when the value expected is a String

Expected behavior
the algorithm must parser to string the value

Caused by:

String idExecutive = req.getParam("id_executive");
org.json.JSONException: JSONObject["id_executive"] not a string.

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
ubuntu 18, eclipse Photon Release (4.8.0), wildFly 14, HTTP server,

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