Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Hi.
I have issue with adding js files into project. I create New Java Script file named "js_file", but when I test the app in browser there is no such file "js_file" in Resources in firebug. But files, which were added before me are present. It seems, that I have no rights for that. The project was created by other person and I was added to some team in Appery. Is it possible that I have no all permissions?
I have created new app and everything works as it should (pages created, files added).
Can you tell me if there are some restrictions or link to read about it. Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Add files limitations

Hi Ivan,

We do not have such limitations. Probably you look for it in a wrong place. Do you save your project after adding a file? Please post screenshots where we can see this file is added to your app and there is no such file in Firebug - Resources.

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Hello.
The problem is that js files which I have added in project (and saved before start) are not listed between other in resources. I am not the owner of the project, but was added into group. For example, I can not create backups.
But... When I create new project, everything works well - all files are added and project works correctly.
I attached screenshots. Can you tell me the possible reason? Thanks!
Image
Image
Image
Image

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Add files limitations

Hi Ivan,

Please open page source and find all the connected script files in header. You'll see this file there.

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Hello!
I have tried more and more to add js files, but no use. Yes, you are right and js file is in connected in source code, but it is not included. I created service with js file on the 4-th screen and exception occurs on the 1-st screen. Therefore first screen fails with error "undefined" for js file, which I created, but it is not included.
What did I try before start application:

  1. clear caches (few times);
  2. save (few times);
    Perhaps, there are some limitations (like I cann't make backups - only owner can. I am added to the team of the project.) ?
    Also I have found another strange behaviour of the Appery. I created new local storage variable named "var1". Then, if I delete it and create new variable with the same name there will be ERROR that such variable is already created. I tried clearing caches, but no use. What did help - I deleted generic service, where I use this variable and local storage variable, cleared caches. After that I implemented new generic service with the same code and created new "var1" again.
    The same problem occurs if I create generic service and response is mapped to js file. It seems, that Appery saves filed, but is not deleting like I am. Can you tell me the reason of such behaviour and possible ways to resolve those issues. Please, ask me if you have questions or specification. The screenshots above are actual and show my process. Thanks!
Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Add files limitations

Hello! Have you changed anything on Source tab? Are there any blue colored files in WEB_RESOURCES folder?

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Yes, there two blue colored config.xml files in sources. Why are they blue? I saved the project every time before start. What does it mean?
I just reviewed and perhaps maybe white spaces. I have just made white space in other file and it turned blue also... What should I do after editing?

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Oh, sorry, I was talking about iOS and Android.

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

There are some files blue in WEB_RESOURCES, but I did not make any changes.
I renamed startScreen to Splash Screen, but it is in that folder...

Ivan6481911
Posts: 0
Joined: Tue Dec 10, 2013 11:25 am

Add files limitations

Return to “Issues”