Home
  • RapidOSS
  • Support
  • About Us
Home » sForums » Forum

Simplified UI: Pre-defined filters are reset upon Rinf restart

iFountain Forum is no longer in use. Support functionality is moved to iFountain Issue Tracker. You are not allowed to post a new topic on this forum, please create a new ticket on iFountain Issue Tracker. You need to create a new account and login to use issue tracker.
Posted November 26th, 2007 by Anonymous

I have defined my own pre-defined filters in :
/usr/local/RapidInformer/scripts/startup/createRouteExpressions.groovy

To be enable these filters, I had to create the following link:

root@itmlab08:/usr/local/RapidInformer/scripts/ondemand_scripts> ls -l create*
lrwxrwxrwx 1 root other 40 Nov 22 15:54 createRouteExpressions.groovy -> ../startup/createRouteExpressions.groovy
root@itmlab08:/usr/local/RapidInformer/scripts/ondemand_scripts>

This allows me to run the script from the Admin GUI (Scripts tab).

But when I stop and restart RInf, the filters are reset to their default value. I mean the new filters that I defined in the groovy script are no longer displayed in the Simplified UI.

Any idea why ?
A bug or a side effect of the softlink ?

Paul

  • Login or register to post comments

Scripts under

On November 26th, 2007 Sezgin says:

Scripts under RINF_HOME/scripts/startup folder run every time RapidInformer starts. Also, what createRouteExpressions.groovy does is to reset all filters as configured at the top of the script. If you don't want this script to run at start up you should move it to RINF_HOME/scripts/ondemand_scripts folder, and run it manually whenever you want.

  • Login or register to post comments

I assume that there is only

On November 27th, 2007 TugrulKinikoglu says:

I assume that there is only one version of the script (in startup directory with a soft link from ondemand_scripts directory). Normally, the latest version of the script in startup should be executed during restart and this should have the same effect of running the on-demand script. We have created an issue and will post an update as soon as possible.

  • Login or register to post comments

user error: There was an old

On November 28th, 2007 pdunon (not verified) says:

user error:

There was an old version of the createRouteExpressions.groovy in the startup directory. And *all* the files in the directory are executed upon startup, whatever their name and extension.

  • Login or register to post comments

  • Standing on the shoulders of giants: say no to proprietary languages, welcome to Groovy and salute JVM

  • Create new account
  • Request new password