This is a migrated thread and some comments may be shown as answers.

Simulator: Filesystem.root.fullPath invalid after upgrade

8 Answers 97 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Wklm
Top achievements
Rank 1
Wklm asked on 10 Jun 2014, 08:23 AM
Hi, after automatic AppBuilder upgrade to V2014.2.609.4 my app fails. Instead of "file:///O://telerik/icenium/simulator/storage/persistent" as in the previous version of AppBuilder now the windows client simulator provides "file:///%simulator_persistent_root%" as the Cordova file system root.fullPath. File/Storage settings in simulator are verified and proper. 
Regards,
Wolfgang

8 Answers, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 10 Jun 2014, 11:10 AM
Hello Wolfgang,

Thanks for your feedback.
The change you have found is purposely made by us due to Cordova incompatibility to parse this path for some of its APIs because of the second colon in the path. After we successfully expanded the File API support to its full volume in the Simulator we had to bypass this limitation by introducing this constant which replaces the root folder path. This does not change anything on actual device behavior so you don't have to worry for any consequences.

Is there any particular reason to use Filesystem.root.fullPath value?

Regards,
Zdravko
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Ahmad
Top achievements
Rank 1
answered on 11 Jun 2014, 02:00 AM
I'm sorry but apparently I'm missing something?

How exactly are you supposed to download files in the simulator?
Is there another option besides using the fullpath?

Although it still works on the device itself it seems all my downloads now fail in the simulator...I'd be happy to change(I've tried .name, etc) it but every example I've seen uses the fullpath or a derivative and none of them seem to work anymore in the simulator?

A basic example which no longer works in the simulator:
https://gist.github.com/nathanpc/2464060
0
Wklm
Top achievements
Rank 1
answered on 11 Jun 2014, 07:59 PM
Hello Zdravko,
yes, it runs on physical devices and when passing the fullPath check in simulator as well.
Thanks,
Wolfgang
0
Zdravko
Telerik team
answered on 13 Jun 2014, 04:20 PM
Hi Ahmad,

The change we made seems to be a pain for our users when they test some of the Cordova APIs in the Simulator so we will reconsider it.
Thanks and stay tuned.

Regards,
Zdravko
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Ahmad
Top achievements
Rank 1
answered on 14 Jun 2014, 06:47 PM
Zdravko,

It's only a pain for your users because it's difficult to find information about updates. If you actually provided details about changes in the updates, like informing users that a change to the API was made and simply replacing the placeholder will allow the simulator to work properly, there would be no issue. Instead you auto push an update with no direct update notes and make people think the update broke the simulator.
0
Zdravko
Telerik team
answered on 18 Jun 2014, 02:50 PM
Hi Ahmad,

I understand your frustration. We didn't expect such impact on the Simulator usability, but we found out that this is a very common issue and it breaks the Cordova FIle API normal exploitation of our users. Therefore we decided to revert the change back.
Please excuse us for the inconvenience.

Regards,
Zdravko
Telerik
 

Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!

 
0
Cool Apps
Top achievements
Rank 2
answered on 24 Jul 2014, 02:36 PM
Hi Zdravko,

A month later this is still not fixed? I still can't get to download and show images in the simulator.
0
Zdravko
Telerik team
answered on 29 Jul 2014, 07:33 AM
Hi Ivaylo,

I am afraid we haven't made any changes to the Simulator yet, but we are working on. Despite that variable you should be able to show images in it. As an example I will suggest taking a look at our FileTransfer sample which works even for Cordova 3.5.
I hope it helps.

Regards,
Zdravko
Telerik
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
Tags
Report a bug
Asked by
Wklm
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Ahmad
Top achievements
Rank 1
Wklm
Top achievements
Rank 1
Cool Apps
Top achievements
Rank 2
Share this question
or