Titanium JIRA Archive
Appcelerator Community (AC)

[AC-653] Getting error trying to create Jira ticket via Appcelerator

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2016-02-24T19:46:02.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterCREATIVE KAIZEN
AssigneeShak Hossain
Created2016-02-24T17:36:57.000+0000
Updated2016-02-24T20:13:23.000+0000

Description

Steps to Reproduce

Send below code in 'Steps To Reproduce:'
var nativePath = 'file:///var/mobile/Containers/Data/Application/xxxx/Documents/exercise-vid-fhd-98.mp4';
 
var videoPlayer = Titanium.Media.createVideoPlayer({
	url: nativePath,
    autoplay : true,
   	repeatMode: Ti.Media.VIDEO_REPEAT_MODE_ONE, 
    mediaControlStyle: Titanium.Media.VIDEO_CONTROL_NONE ,
    scalingMode : Ti.Media.VIDEO_SCALING_ASPECT_FIT,
    backgroundColor: '#f0f2f2'
});
 
var window = Ti.UI.createWindow();

window.add(videoPlayer);

window.open();


Ti.App.addEventListener('pause', function() { videoPlayer.pause()});
Ti.App.addEventListener('resume', function() { videoPlayer.play()});

Actual Result

1. Getting error as in attachment. 2. Loosing all text provided.

Expected Result

1. No error or 2. more understandable information what cause the error (what should be escaped) and how to avoid it. Getting back to previous window to not to loose what has been already written.

Attachments

FileDateSize
Zrzut ekranu 2016-02-23 o 17.07.58.png2016-02-24T17:36:53.000+000025497

Comments

  1. Sharif AbuDarda 2016-02-24

    Hello, The issue is not valid, JIRA ticket creation is working. Can you be more specific about what you are trying to do? And how you are proceeding? Thanks.
  2. CREATIVE KAIZEN 2016-02-24

    If you try to add ticket FROM Appcelerator Studio with: {/code:javascript/} {/code/} (without slashes) You will get an error like in *attachment* provided. Also all text will be lost because dialog will be closed.

JSON Source