You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2015/02/04 18:50:35 UTC

[jira] [Assigned] (CB-7092) [WP8][cordova-plugin-media] it gets multiple times to error callback, when an invalid file name is provided

     [ https://issues.apache.org/jira/browse/CB-7092?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Grebnov reassigned CB-7092:
----------------------------------

    Assignee: Sergey Grebnov  (was: Jesse MacFadyen)

> [WP8][cordova-plugin-media] it gets multiple times to error callback, when an invalid file name is provided
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CB-7092
>                 URL: https://issues.apache.org/jira/browse/CB-7092
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media, WP8
>    Affects Versions: 3.5.0
>            Reporter: Martin Gonzalez
>            Assignee: Sergey Grebnov
>              Labels: WP8, media
>             Fix For: 3.6.0
>
>
> When an invalid file name is provided to create a new Media object, the error callback it goes crazy, throwing the same error multiple times and getting to the same callback multiple times instead of one error notification or walk-through.
> E.g:
> badMedia = new Media("invalid.file.name", callback, errorcallack);
> It gets stuck in errorcallback for some time, before move on.
> Found porting mobilespec test to new plugin test framework, this behavior it was found trying to use the error callback object to complete the test, instead of set a timeout to determine if that callback it was called or not.
> This behavior it can be only reproduced under Windows Phone 8.
> Android works pretty fine, and without this issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org