~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

An empty rkey from a site's page is dropped

Open
Open chadtmiller.com opened this issue 0 comments

What happened

os.put(space, collection, '', record) sends no rkey, and os.create(…, {rkey: ''}) gets a key made for it, rather than either being refused. Found reading the code.

How to see it

On a live site whose writes name a collection, call os.put with '' as the rkey.

What you expected

Refused, as an empty rkey is no key.

Where

A local host, branch site/reports at e62dd33: crates/group-host/src/site_kit.js:68; web/shell/shell.ts:194.