After performing an upgrade to JIRA 8.5.1 the re-index fails and the following appears in the atlassian-jira.log
com.google.template.soy.tofu.SoyTofuException: When evaluating "'IndexReIndex!reindex.jspa?atl_token=' + $atlToken + '&indexingStrategy=' + $indexingStrategy": Attempted to coerce undefined value into a string.
Following workaround done (even with disabled add-ons) but still not working
$JIRA_HOME\caches\indexes
Any idea for resolving it?
Found the issue.
The issue is there because something is messing with the JavaScript code. In my case, we were inserting a JavaScript code in the banner announcement and an error was triggered when the Index page was accessed.
When it happens, futher JavaScript code is not loaded correctly, which prevent the reindex button to gather the altToken and the indexStrategy value (because these values are modified dynamicaly according to the user choice).
Just in case, I found my workaround for this problem. Please look at my comment:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.