Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Ensure that a success message is shown when project about page is updated #713

Merged
merged 1 commit into from
Mar 5, 2015

Conversation

davidmason
Copy link
Contributor

Used to use the default "Successfully updated" message, but that has been overridden.

@@ -290,6 +290,8 @@ jsf.languageSettings.LanguagesDisabled=Disabled languages: {0}.
jsf.languageSettings.LanguageEnabled=Language "{0}" has been enabled.
jsf.languageSettings.LanguagesEnabled=Enabled languages: {0}.
jsf.project.LanguageUpdateFromGlobal=Updated languages from global settings.
jsf.project.AboutPageUpdated=About page updated.
jsf.project.AboutPageUpdateFailed=There was a problem while updating the about page.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there was an error, I don't have any way here to know whether it was updated or not.

In practice the case where this message would be displayed may never come up - I think it would redirect to the error page if there was an exception, and the library code looks like it is hard-coded to indicate success (so an exception is the only way that it would not indicate success to my code).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so it could have been updated?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@djansen-redhat yes - basically if that message is displayed, the state is unknown to the code.

@carlosmunoz
Copy link
Member

👍

davidmason added a commit that referenced this pull request Mar 5, 2015
Ensure that a success message is shown when project about page is updated
@davidmason davidmason merged commit cadeb3d into integration/master Mar 5, 2015
@davidmason davidmason deleted the fix-about-message branch March 5, 2015 05:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants