Benny Halperin
Posts: 0
Joined: Wed Oct 02, 2013 8:13 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

The resource I added was one that actually can't be added through Appery's external resources bcoz it is a script tag with attributes. However, this case represents any resource that is mistyped, and should be removable.

I tried to add and remove another resource, as suggested in an old post here, but to no avail. I don't want to manually remove from source file each time I publish.

This is the external resource list after deleting:

Image

This is the leftover:

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

Hello!
After you edited corresponding file on Source tab, changes you do through editor which are connected to this file, won't be applied. You have to delete edited file and Undo all source changes.
You can add your external resource dynamically using JS code.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

Sorry, there might be misunderstanding. Could you clarify in more details what have you done and what exactly doesn't work? Post steps to reproduce, perhaps more screenshots...

Benny Halperin
Posts: 0
Joined: Wed Oct 02, 2013 8:13 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

It's ok, I may have been unclear.

Steps to reproduce:
ol
liApp settings/External resources tab/li
liTyped in user-defined resource textbox the following:code<script type="text/javascript" src="&#47;&#47;d2wy8f7a9ursnm&#46;cloudfront&#46;net/bugsnag-2&#46;min&#46;js data-apikey="my-api-key"></script>/code/li
liClicked Add/li
liSaved/li
liSelected new resource in list/li
liClicked Delete/li
liSaved/li
/ol

The resource I added is illegal syntax I know. I think you should take it as a case of simply mistyping a legal resource, adding an extra "" character, etc.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

It's a bug, we'll fix it. You can post (or send to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a) your project GUID so we can delete unnecessary resources from your project.
Please note you would need to close app. After we delete these resources on our side, go to Source tab--WEB_RESOURCES, delete all .html files and undo all source changes.

Benny Halperin
Posts: 0
Joined: Wed Oct 02, 2013 8:13 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

Thanks!

I'm emailing GUID separately.
Which of the html files do I need to delete? I have the auto-generated, and some I created myself in my custom folder files/data. see screenshot below.

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Removing external user-defined script resource removes from list, but resource is still in head section in source

Thank you for email! We'll let you know when delete unnecessary resource from project and post more details about files you have to delete, but it might take some time... Sorry for inconvenience.

Return to “Issues”