You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I switched to folderstorage, but each directory is named like a hash. If I configure the key to one of my fields it errors on save saying "Failed to save entry: Array to string conversion"
relevant part of my config:
# Data Configurationdata:
# Object class to be used, allowing custom methods for the objectobject: 'Grav\Common\Flex\Types\Generic\GenericObject'# Collection class to be used, allowing custom methods for the collectionscollection: 'Grav\Common\Flex\Types\Generic\GenericCollection'# Index class to be used, works as a quick database-like lookup indexindex: 'Grav\Common\Flex\Types\Generic\GenericIndex'storage:
# Storage class, use single file storage (does not support images and assets)class: 'Grav\Framework\Flex\Storage\FolderStorage'options:
formatter:
# File formatter class, in this case the file is stored in markdownclass: 'Grav\Framework\File\Formatter\MarkdownFormatter'# JSON file where all the objects will be storedfolder: user-data://flex-objects/crashes# File pattern to generate the filenamepattern: '{FOLDER}/{KEY}/{FILE}{EXT}'# Filenamefile: {key}# Field which will be used as {KEY}key: crash_id# Keep index file in filesystem to speed up lookupsindexed: true
The text was updated successfully, but these errors were encountered:
I switched to folderstorage, but each directory is named like a hash. If I configure the key to one of my fields it errors on save saying "Failed to save entry: Array to string conversion"
relevant part of my config:
The text was updated successfully, but these errors were encountered: