[LRA-172] [Evernote App] OAuthException has to be handled properly in doView method Created: 12/May/14 Updated: 12/May/14 Resolved: 12/May/14 |
|
| Status: | Resolved |
| Project: | Liferay Apps |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Dong-Jun Kim [X] (Inactive) | Assignee: | Juan Carrillo [X] (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
Current exception handling logic failed to catch OAuthException which happens when the user used wrong consumer key and secret code. As a result, the portlet completely fails to render a proper message for the user.
In doView method of Evernote App controller class, we need to handle all possible exception. Instead of catching "SystemException" only, we will have to catch "Exception" and then check what the exception is instance of which will have to include OAuthException as well. Thanks, |