I have just discovered some broken functionality in the search GUI of our TS 6.5 sp2 (+patch id 1614) on Solaris 9.
I have 80 branches (many identical ones per country/language combo and some other) with some forms. Our templating.cfg uses
prune-missing-files="t"
so that we don't need to list in too exact detail the branches that do or don't have certain forms. This works ok in terms of the "File > New Form Entry" functionality.
But this is broken: - Login CCPRO,
- go to some workarea that is searchable (indexed)
- click "Actions > Search"
- in the form, change "Content Type" from "All Content" to "Forms"
- LEADS TO ERROR:
An error occurred executing command com.interwoven.ui.search.ccpro.AdvancedSearchCommand
Root cause:
java.lang.NullPointerException
at com.interwoven.ui.formspub.utils.TemplateManagerImpl$FileSystemFilter.filterCategories(TemplateManagerImpl.java:912)
at com.interwoven.ui.formspub.utils.TemplateManagerImpl.getCategories(TemplateManagerImpl.java:168)
at com.interwoven.ui.formspub.utils.TemplateManagerImpl.getTypes(TemplateManagerImpl.java:238)
at com.interwoven.ui.formspub.utils.TemplateManagerImpl.getTemplateTypes(TemplateManagerImpl.java:261)
at com.interwoven.ui.search.CustomAttributeHelper.processCustomAttributes(CustomAttributeHelper.java:174)
at com.interwoven.ui.search.ccpro.AdvancedSearchCommand.execute(AdvancedSearchCommand.java:436)
at com.interwoven.ui.base.impl.command.CommandHandler.doExecuteCommand(CommandHandler.java:865)
at com.interwoven.ui.base.impl.command.CommandHandler.tryRunCommandDescriptor(CommandHandler.java:713)
at com.interwoven.ui.base.impl.command.CommandHandler.tryRunCommandID(CommandHandler.java:596)
at com.interwoven.ui.base.impl.command.CommandHandler.runCommandLoop(CommandHandler.java:240)
at com.interwoven.ui.base.impl.command.CommandServlet.doGet(CommandServlet.java:244)
...
I simplified my templating.cfg file to just contain
[HTML]
[/HTML]
the error goes away if I change
prune-missing-files="t"
to
"f"
.
No need to tell me that I can restructure my templating.cfg file to avoid the use of prune-missing-files. I know, but it's a drag :-(