User login

Deleted script files continue to show on web page

Forums :

I've created a script that failed compile and was marked failed by the mashup server.  I then deleted the script and it continues to be displayed in the user interface.  How do I get it to not be displayed anymore?

 

Thanks

Chad

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

You need to give the deployer something to work with

Hi Chad,

Since the deployer is not tracking the script it has marked as faulty, it will remain in your UI even if you delete the JS file. The easiest thing to do would be to give the deployer a valid mashup, by either selecting the mashup name in the UI and entering a something in the editor you will be linked to from the error page, or dropping in a .js file with the original name to the original location in your scripts folder. All you need to say in this script is something like:

function foo()
{
    return "hello";
}

The deployer will deploy this script successfully, after which you can delete it from the UI or the file system, and the mashup will be removed from the console once undeployed.

Bye,

Channa

Filed a JIRA

I think we could do better.  JIRA MASHUP-686 tracks this.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.