diff --git a/repertory/librepertory/src/db/impl/sqlite_meta_db.cpp b/repertory/librepertory/src/db/impl/sqlite_meta_db.cpp index 2d9b646a..e3f0fbf1 100644 --- a/repertory/librepertory/src/db/impl/sqlite_meta_db.cpp +++ b/repertory/librepertory/src/db/impl/sqlite_meta_db.cpp @@ -279,6 +279,12 @@ void sqlite_meta_db::remove_api_path(const std::string &api_path) { auto sqlite_meta_db::remove_item_meta(const std::string &api_path, const std::string &key) -> api_error { + if (key == META_DIRECTORY || key == META_PINNED || key == META_SIZE || + key == META_SOURCE) { + // TODO log warning for unsupported attributes + return api_error::success; + } + api_meta_map meta{}; auto res = get_item_meta(api_path, meta); if (res != api_error::success) {