-
-
Notifications
You must be signed in to change notification settings - Fork 59
Closed
Labels
Description
No existing issues.
- There is no existing issue for my problem.
Description
I'm not able to read an empty and never used meta object. Expected an empty array instead.
Reproduction instruction
- Use the instance configuration to create a new meta object in io-package
"instanceObjects": [
{
"_id": "",
"type": "meta",
"common": {
"name": {
"en": "Meta storage for user files",
"de": "Meta-Speicher für Benutzerdateien",
"ru": "Meta Storage для файлов пользователей",
"pt": "Meta de armazenamento para arquivos de usuário",
"nl": "Meta opslag voor gebruikersbestanden",
"fr": "Stockage Meta pour les fichiers utilisateur",
"it": "Meta storage per i file utente",
"es": "Meta almacenamiento para archivos de usuario",
"pl": "Meta storage for user files",
"uk": "Зберігання мета для файлів користувачів",
"zh-cn": "用户档案的储存"
},
"type": "meta.user"
},
"native": {}
}
]- Start the instance and ensure the object has been created
- Use the files tab in admin and access the meta object
- Use
const files = await this.readDirAsync(this.adapter.namespace, '/');
The last 2 steps will fail (Error: Not exists) until a file has been created.
JS-controller version
7.0.6
Node version
v20.18.1