Skip to content

Umrf graph json relation name field corrupt #1

@RValner

Description

@RValner

If the UmrfGraph::getUmrfs() method returns by value, e.g., std::vector<Umrf> UmrfGraph::getUmrfs(), and get passed to the umrf_json_converter::toUmrfJsonValue, then the name field under the relation of the resulting json string is corrupt.

If the UmrfGraph::getUmrfs() method returns by const reference, e.g., const std::vector<Umrf>& UmrfGraph::getUmrfs() const, then there is no problem.

Sounds like some weird memory allocation situation that's either caused by misuse of rapidjson or ill defined constructors of Umrf and its nested classes.

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