From bc9366ce5085a84ab219768ea040ded30dac6b7c Mon Sep 17 00:00:00 2001 From: develric Date: Wed, 6 May 2020 16:28:14 +0200 Subject: [PATCH 1/2] Align some additional logging to trace for wrong post formats and pointing gradle to the new fluxc hash. --- .../org/wordpress/android/ui/prefs/SiteSettingsInterface.java | 4 ++++ build.gradle | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/WordPress/src/main/java/org/wordpress/android/ui/prefs/SiteSettingsInterface.java b/WordPress/src/main/java/org/wordpress/android/ui/prefs/SiteSettingsInterface.java index 7b142b5aadf3..6f2e447ce5b1 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/prefs/SiteSettingsInterface.java +++ b/WordPress/src/main/java/org/wordpress/android/ui/prefs/SiteSettingsInterface.java @@ -28,6 +28,8 @@ import org.wordpress.android.models.JetpackSettingsModel; import org.wordpress.android.models.SiteSettingsModel; import org.wordpress.android.ui.plans.PlansConstants; +import org.wordpress.android.util.AppLog; +import org.wordpress.android.util.AppLog.T; import org.wordpress.android.util.FormatUtils; import org.wordpress.android.util.LanguageUtils; import org.wordpress.android.util.LocaleManager; @@ -1172,8 +1174,10 @@ public void run() { @Subscribe(threadMode = ThreadMode.MAIN) public void onPostFormatsChanged(OnPostFormatsChanged event) { if (event.isError()) { + AppLog.e(T.SETTINGS, "An error occurred while updating the post formats with type: " + event.error.type); return; } + AppLog.v(T.SETTINGS, "Post formats successfully fetched!"); notifyUpdatedOnUiThread(); } diff --git a/build.gradle b/build.gradle index c611aa2680c7..c4a37c64ff12 100644 --- a/build.gradle +++ b/build.gradle @@ -107,7 +107,7 @@ ext { androidxWorkVersion = "2.0.1" daggerVersion = '2.22.1' - fluxCVersion = '1.6.11' + fluxCVersion = 'fd23cb74c0d68eaeb9856cbfe03114b788991b9e' appCompatVersion = '1.0.2' constraintLayoutVersion = '1.1.3' From abcb5c6c1987d9c220216f569df73d2aef0854ba Mon Sep 17 00:00:00 2001 From: develric Date: Thu, 7 May 2020 01:11:31 +0200 Subject: [PATCH 2/2] Pointing to the correct fluxc label. --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index c4a37c64ff12..23879dddae01 100644 --- a/build.gradle +++ b/build.gradle @@ -107,7 +107,7 @@ ext { androidxWorkVersion = "2.0.1" daggerVersion = '2.22.1' - fluxCVersion = 'fd23cb74c0d68eaeb9856cbfe03114b788991b9e' + fluxCVersion = '1.6.12-beta-2' appCompatVersion = '1.0.2' constraintLayoutVersion = '1.1.3'