summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-10-06 16:44:41 -0400
committerenahum <nahumhbl@gmail.com>2016-10-06 17:44:41 -0300
commit7fb818d4cef09dd74f9fcfd99381a7c0e7064a56 (patch)
tree0f79dd96a91420f4a4fa377ecc900deeb084416a /i18n
parentc9793a566a4f425997448a742b16ed8754c17bae (diff)
downloadchat-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.json18
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",