cancel
Showing results for 
Search instead for 
Did you mean: 

FileNet P8 5.x => error when executing a search

popeye
Champ in-the-making
Champ in-the-making
Hi,

I have deployed OpenWorkdesk on a WebSphere and tested it against my FileNet P8 5.0 => when I click on a search template or on a virtual eFile ("VirtualSearchTemplate.xml ") then I get the following error:
Caused by: com.wewebu.ow.server.exceptions.OwObjectNotFoundException: Error in search template 'VirtualFolder': Could not resolve property 'MimeType'
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.getPropertyClassInternal(OwStandardSearchTemplate.java:2177)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:1879)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.scanSearchNode(OwStandardSearchTemplate.java:1814)
   at com.wewebu.ow.server.ecm.OwStandardSearchTemplate.init(OwStandardSearchTemplate.java:1454)
   at com.wewebu.ow.server.ecm.OwStandardVirtualFolderObjectFactory.createSearchTemplate(OwStandardVirtualFolderObjectFactory.java:1448)
   at com.wewebu.ow.server.ecm.OwStandardVirtualFolderObjectFactory.getSearchTemplate(OwStandardVirtualFolderObjectFactory.java:1420)

I am absolutely sure that the property "MimeType" exists and that it is available => do you have any hints how to solve this issue?

Thanks in advance
1 REPLY 1

deko
Star Contributor
Star Contributor
Hello Popeye,

Problem here seems to be a minor bug in OpenWorkdesk 3.2.0.0 in combination with FileNet P8 5.x, when the "Display Name" and the "Symbolic Name" of your object store(s) are different.

To workaround your issue you should use the "Display Name" for the object store(s) definition(s) and not the "Symbolic Name" in your search templates. This issue will be resolved with the next available fix pack 3.2.0.1 which is currently scheduled for 20th of July.

Please edit your search templates and replace ALL "Symbolic Name" definitions with the "Display Name". I assume that you currently have something like "P8 Config ObjectStore" defined as objectsore name in your templates, which must be changed to the "Display Name" like in the follwoing search template excerpt:


<objectstores mergeoption="union">
    <objectstore name=" P8ConfigObjectStore" id="{1234ABCD-ABCD-1345-P8L9-45DF2DFG7894}"/>
</objectstores>

Adapting your search template should solve the problem. As soon as the 3.2.0.1 fixpack was installed, you can revert definition back to the "Symbolic Name".

Please let me know if this solved the issue.