Scripts don't show up as options when creating a new rule that uses 'Execute Script' as an action.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2016 03:34 AM
After uploading a script in the reposityory -> data dictionary -> scripts, setting its extension to ".js" and set its MIME type to "JavaScript", I tried to use the script as an action in a new rule.
However, no script including the uplodaded script didn't show up and a blank text box sits when I select "Execute script". Even if I typed the name of the script, there appeared the error message
"There is an error in the field." Please tell me if there is any configuration I would have left undone or any information about this.
Thank you.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 08:25 AM
Maybe this helps:
May this be related with a non English installation, in which "Data Dictionary" folder in english does not exist ? This will be compatible with jeff and gbousquet.
This is quite often in addons:
Regards.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 09:16 AM
YES, thats the problem!
The problem with missing SelectBox values exists, if I use Alfresco Share with German as default Browser language. If I change the Browser language to english, SelectBoxes are rendered and values exists.
So I think that´s the issue Thanks
(It is also a simple workaround with this Alfresco version)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 09:29 AM
Hey Cesar Capillas
I know the problem you are talking about, but I don't think it is related with the problem tepee _ is facing.
I have some servers installed with the language configured as Brazilian Portuguese, and the Data Dictionary folder is called Dicionário de Dados.
All the scripts are shown ok.
This is the bean responsible for getting the javascript files list: community-edition/action-services-context.xml at 2c1eff9953d3105e738f7b06ba9ba8a079ca4c24 · Alfresco...
As you can see, the search path is /app:company_home/app:dictionary/app:scripts
I don't believe that is the main cause of this problem.
Maybe corrupted solr indexes?
tepee _ Have you tried to perform a full reindex on this repository?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2016 10:36 AM
Yes, probably you are right, Douglas C. R. Paes
Besides, michael.mrotzek _ previous comment is related to a different issue (in a different layer), that I mentioned in the upper link. Regarding the corruption of the indexes, it is somehow strange because he is finding *js files when his language browser is setted to English.
Best regards.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 11:10 AM
I can confirm this behaviour. Using "german" as Primary Language in the Browser, I get the german UI and there are no scripts in the perform Action/Executive script dropdown for the javascrip files.
switching the Browser to "englisch" - I get the english UI and the javascript files are visible in the dropdown.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2017 06:31 PM
Yes, I can reproduce it too (in Alfresco 201602GA). When switching to German UI, I neither see Specialise Type dropdown, nor remove/add aspect dropdown.
Regards.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 02:58 AM
I always thought I had problems with my upgrade from 5.0d to 5.1 - thank's to the community I realize now, that it's not my fault :-), but a reproducible problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 04:30 AM
Well, I did a similar upgrade path
Regards.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 04:23 AM
Issue "missing select values" with other primary language than english seems to be fixed in Alfresco Share v5.2.e.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 04:46 AM
Looks promising - I'll try the update 🙂
