Skip to content

In case of a numeric user name or user group, GroupsOf or UsersOf sequences return nothing #2

@gregory-vorbe

Description

@gregory-vorbe

This is due to the related FS transactions.
For example:
project=lib_FullSyncGrp
connector=c8ofullsyncgrp
transaction=GetGroupsByUser

<?xml version="1.0" encoding="ISO-8859-1"?><input>
    <transaction-variables strictMode="true">
        <variable name="_use_key" value="0020001068"/>
    </transaction-variables>
    <transaction-headers/>
    <javelin-action/>
    <webviewer-action/>
</input>
<couchdb_output type="object">
    <_c8oMeta type="object">
        <headers type="object">
            <Cache_Control originalKeyName="Cache-Control" type="string">must-revalidate</Cache_Control>
            <Content_Length originalKeyName="Content-Length" type="string">54</Content_Length>
            <Content_Type originalKeyName="Content-Type" type="string">application/json</Content_Type>
            <Date type="string">Wed, 09 Dec 2020 11:20:40 GMT</Date>
            <Server type="string">CouchDB/2.3.1 (Erlang OTP/19)</Server>
            <X_Couch_Request_ID originalKeyName="X-Couch-Request-ID" type="string">2db2434cf0</X_Couch_Request_ID>
            <X_CouchDB_Body_Time originalKeyName="X-CouchDB-Body-Time" type="string">0</X_CouchDB_Body_Time>
        </headers>
        <reasonPhrase type="string">Bad Request</reasonPhrase>
        <status type="string">client error</status>
        <statusCode type="integer">400</statusCode>
    </_c8oMeta>
    <error type="string">bad_request</error>
    <reason type="string">invalid UTF-8 JSON</reason>
</couchdb_output>

It works if variable value is surrounded by double quotes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions