Parse.com and Chrome Packaged Apps - parse-platform

This question was already asked in the old Parse.com help forums :
https://www.parse.com/questions/parsecom-javascript-api-and-chrome-packaged-apps
Has there been any progress on adapting the parse js.sdk to be compatible with Chrome Packaged Apps ???
In particular it seems to fail on this line :
var userData = Parse.localStorage.getItem(Parse._getParsePath(
Parse.User._CURRENT_USER_KEY));
with the following error message :
Uncaught TypeError: Cannot read property 'getItem' of undefined

Related

Unable to get property 'getRandomValues' of undefined or null reference

I'm facing issue with Skype Web Control's sdk.min.js because of which bot doesn't work on IE.
Code:
<span class="skype-button bubble " data-bot-id="vdasdsadsadyapzK5k-C7Zw9acGTpVddH9CCj8" data-color="#1C57D9"></span>
<span class="skype-chat" data-color-message="#27D1F0"></span>
<script src="https://swc.cdn.skype.com/sdk/v1/sdk.min.js"></script>
The code works fine in Google Chrome, but not on IE.
Error captured in console: Unable to get property 'getRandomValues' of undefined or null reference
Here is similar fix reported but then we can not change sdk.min.js
I've been informed by the SWC team that Microsoft is aware of the issue and is investigating. This could take a long time.

Uncaught TypeError: Cannot read property 'getNumFrames' of undefined

I created an html canvas with Adobe Animate, it works fine in debug mode but you I publish my website on filesystem I get the following error :
Uncaught TypeError: Cannot read property 'getNumFrames' of undefined
I search about this and find out
Sprite sheets do not work from the local filesystem.
But I wonder if that is true, why and how can I use it on filesystem ?

Log work for a given issue using JIRA SDK

I am using JIRA Ruby SDK for JIRA REST API. I am trying to create to log work for a specific issue with this code:
projects = client.Project.all
issue = client.Issue.find("13921")
w = issue.worklogs.build
w.timeSpentSeconds = "12000"
However i have got this error:
method_missing': undefined methodtimeSpentSeconds=' for
#JIRA::Resource::Worklog:0x007f831db3f360 (NoMethodError) from jira.rb:33:in
Thanks!

Parse related remote calls failing in app

I have developed an Ionic Framework App using Parse which works great on my desktop browsers. No errors or warnings in the browser console.
But when I package the app and test in on my actual Android 4.4.4 device, the Parse related functionalities does not work. When I tried to debug the App by installing the .apk using GapDebug tool, I see the below in the console.
POST https://api.parse.com/1/login net::ERR_CACHE_MISS
POST https://api.parse.com/1/requestPasswordReset net::ERR_CACHE_MISS
Below is the complete console log details for the Parse Login activity.
POST https://api.parse.com/1/login net::ERR_CACHE_MISS parse-1.3.3.min.js:1
b._ajax parse-1.3.3.min.js:1
b._request parse-1.3.3.min.js:1
b.User.b.Object.extend.logIn parse-1.3.3.min.js:3
b.User.b.Object.extend.logIn parse-1.3.3.min.js:3
$scope.validateUser login.controller.js:22
$parseFunctionCall ionic.bundle.js:20124
(anonymous function) ionic.bundle.js:50863
Scope.$eval ionic.bundle.js:22178
Scope.$apply ionic.bundle.js:22276
(anonymous function) ionic.bundle.js:50862
jQuery.event.dispatch jquery.js:4409
elemData.handle jquery.js:4095
triggerMouseEvent ionic.bundle.js:2811
tapClick ionic.bundle.js:2800
tapTouchEnd ionic.bundle.js:2918
POST https://api.parse.com/1/requestPasswordReset net::ERR_CACHE_MISS
For getting all the data for a particular class, I get the below failure object.
Failed to load resource: net::ERR_CACHE_MISS https://api.parse.com/1/Items
XMLHttpRequest failed: {"statusText":"","status":0,"response":"","responseType":"","responseXML":null,"responseText":"","upload":{"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null},"withCredentials":false,"readyState":4,"timeout":0,"ontimeout":null,"onprogress":null,"onloadstart":null,"onloadend":null,"onload":null,"onerror":null,"onabort":null}
The issue was with permission. It was failing because the app was not able to connect to internet.
Somehow the Network Access permission entry got deleted in the manifest file. After adding it to manifest, it worked.

Troubles setting up Rally to Jira Connector

I am working with Jira/Rally and the the Ruby connector. I was tapped to test out the connector and make sure it will do everything we need. I have to confess that this isn't my area of expertise, I am unable to find relevant help on the Rally site and the previous topics here were tied to different issues.
The error I am running into is:
[2013-01-18 15:21:38 Z] DEBUG : Finding method getIssuesFromJqlSearch
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.rescue in run_services - Unexpected exception occurred
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Message undefined method `key' for nil:NilClass
[2013-01-18 15:21:39 Z] ERROR : ConnectorRunner.exception - Stack Trace
I am connecting to both services just fine (after having worked through some fun proxy issues), and am working off the base jira_config.xml that comes with the connector. I have changed only the required fields, ie UN/PW/URL/Project/Workspace
Relevant xml code:
<RallyConnection>
<Url>rally1.rallydev.com</Url>
<WorkspaceName>CMSJiraIntegrationTestWorkspace</WorkspaceName>
<Projects>
<Project>Sample Project</Project>
</Projects>
<User>***************</User>
<Password>encoded-T-i-F-j-b-2-x-l-M-j-A-=-</Password>
<ArtifactType>Defect</ArtifactType>
<ExternalIDField>JiraDefectKey</ExternalIDField>
<CrosslinkUrlField>JiraLink</CrosslinkUrlField>
</RallyConnection>
<JiraConnection>
<Url>http://10.34.10.175:8080</Url>
<User>***************</User>
<Password>encoded-a-m-F-t-Z-X-M-u-Y-m-V-p-b-n-M-=-</Password>
<ArtifactType>Bug</ArtifactType>
<Project>SP</Project>
<ExternalIDField>RallyID</ExternalIDField>
<CrosslinkUrlField>RallyURL</CrosslinkUrlField>
<CopySelectors>
<CopySelector>Status != Closed</CopySelector>
</CopySelectors>
</JiraConnection>
Does anyone have insight as to why this would fail?
The help is much appreciated
Are you sure you've got JIRA remote API enabled? It seems to crash just after looking for SOAP method "getIssuesFromJqlSearch".
Could you please post the full log file generated from starting the connector to when it crashed?

Resources