diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-10-06 16:44:41 -0400 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-10-06 17:44:41 -0300 |
commit | 7fb818d4cef09dd74f9fcfd99381a7c0e7064a56 (patch) | |
tree | 0f79dd96a91420f4a4fa377ecc900deeb084416a /i18n | |
parent | c9793a566a4f425997448a742b16ed8754c17bae (diff) | |
download | chat-7fb818d4cef09dd74f9fcfd99381a7c0e7064a56.tar.gz chat-7fb818d4cef09dd74f9fcfd99381a7c0e7064a56.tar.bz2 chat-7fb818d4cef09dd74f9fcfd99381a7c0e7064a56.zip |
PLT-3105 Fixed bugs with FileInfos migration, including duplicate FileInfos being saved (#4134)
* Added a limit to GetByPath for the rare cases when two old files had the same path
* Fixed files still being displayed for deleted posts
* Added a lock to prevent migrateFilenamesToFileInfos from migrating multiple posts at once
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.json | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/i18n/en.json b/i18n/en.json index fcbae1af9..5dc7dc6aa 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -886,10 +886,22 @@ "translation": "Unable to find file when migrating post to use FileInfos, post_id=%v, filename=%v, path=%v, err=%v" }, { + "id": "api.file.migrate_filenames_to_file_infos.get_file_infos_again.warn", + "translation": "Unable to get FileInfos for post after migratio, post_id=%v, err=%v" + }, + { + "id": "api.file.migrate_filenames_to_file_infos.get_post_again.warn", + "translation": "Unable to get post when migrating to use FileInfos, post_id=%v, err=%v" + }, + { "id": "api.file.migrate_filenames_to_file_infos.info.app_error", "translation": "Unable to fully decode file info when migrating post to use FileInfos, post_id=%v, filename=%v, err=%v" }, { + "id": "api.file.migrate_filenames_to_file_infos.migrating_post.debug", + "translation": "Migrating post to use FileInfos, post_id=%v, err=%v" + }, + { "id": "api.file.migrate_filenames_to_file_infos.mismatched_filename.warn", "translation": "Found an unusual filename when migrating post to use FileInfos, post_id=%v, channel_id=%v, user_id=%v, filename=%v" }, @@ -898,8 +910,12 @@ "translation": "Unable to migrate post to use FileInfos with an empty Filenames field, post_id=%v" }, { + "id": "api.file.migrate_filenames_to_file_infos.not_migrating_post.debug", + "translation": "Post already migrated to use FileInfos, post_id=%v, err=%v" + }, + { "id": "api.file.migrate_filenames_to_file_infos.save_file_info.warn", - "translation": "Unable to save post when migrating post to use FileInfos, post_id=%v, new_file_ids=%v, old_filenames=%v, err=%v" + "translation": "Unable to save post when migrating post to use FileInfos, post_id=%v, file_id=%v, path=%v, err=%v" }, { "id": "api.file.migrate_filenames_to_file_infos.save_post.warn", |