Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

CreateDocument does not generate an id #102

@Tyki

Description

@Tyki

When using createDocument method, the id is not automatically generated. Instead a string ':_id' is used as ID of document

Expected Behavior

A UUIDV4 as documentID

Current Behavior

string '_id' as documentID

Possible Solution

Steps to Reproduce

  1. Setup SDK PHP
  2. Get a collection object
  3. Try to create a document without providing the second parameter 'id'

Context (Environment)

Kuzzle 1.5
SDK PHP 3.0.4

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions