View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0028480RunnerExtensionsPublic2017-12-05 16:152017-12-06 09:28
ReporterStewart Bishop 
Assigned ToStewart Bishop 
PriorityLowSeverityC - GeneralReproducibility100%
PlatformOSOS Version
Summary0028480: Extensions: Cancelling the login dialogue on the Facebook Extension doesn't throw the async event
DescriptionWhen attempting to login with facebook, a login dialog appears. if you cancel that dialog by pressing the back button before it appears, the async social event of facebook will never be called(neither as failed). It throws an exception:"Exception thrown trying to call method onActivityResult on FacebookExtension". You can find the exception at the file "" in the function "CallExtensionFunction". Its because one of the args is null, so getclass won't work for a null..

To fix it go to the file: "" and replace the function onActivityResult to these lines:
public void onActivityResult(int requestCode, int resultCode, Intent data)

Object [] argArray = new Object[3];
argArray[0] = requestCode;
argArray[1] = resultCode;
argArray[2] = data;

//add these 3 lines:
if(argArray[2] == null) {
argArray[2] = new Intent();
1.4 Version1.4.1772
2.x Runtime Version2.1.2.172
2.x Runtime Version Verified In
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker