After revamping the solution module in build 14200, the old solution details page URL is no longer functional. To resolve this, please follow the steps below.
1. Modify "security-solutionaccess.xml"
- File Path : SDPHome/webapps/ROOT/WEB-INF/security/security-solutionaccess.xml
- Include the following entry in the file, refer the below image
<url roles="ViewSolutions" path="/AddSolution.do" operation-param="submitaction" operation-value="viewsolution" method="GET" user_type="all">
<throttles window="ROLLING" scope="APPSERVER" key="url.path+url.dynamic_key" name="viewsolution" >
<throttle duration="1m" threshold="30" lock-period="5m"/>
</throttles>
<param name="fromListView" type="boolean" />
<param name="solutionID" type="long" allow-empty="false" range=">=0"/>
<param name="navType" regex="n|p" />
<param name="solID" type="long" allow-empty="false" range=">=0"/>
</url>
security-solutionaccess.xml
2. Modify "ui_routes.json"
- File Path : SDPHome/conf/ui_routes.json
- Include the following entry in the file. Ensure there are no existing entries with the name "AddSolution.do". If such an entry exists, remove it before adding the new entry, refer the below image
"AddSolution.do": {
"struts": {
"actionClass": "com.adventnet.servicedesk.kbase.action.SolutionAction",
"formBeanName": null,
"scope": "request"
}
},
ui_route.json
3. Modify web.xml
- File Path : SDPHome/webapps/ROOT/WEB-INF/web.xml
- Include the following entry under the
WebClientServlet
mapping. Ensure there are no existing entries similar to this before adding , refer the below image
<url-pattern>/AddSolution.do</url-pattern>
web.xml
Steps to follow
- Down your application.
- Make the above changes to the respective files. Before making changes, take a copy of these files.
- Download the provided
OldSolutionURLRedirect.fjar
from the attachment section and place it into the SDPHome/fixes
folder.
- Restart your application.
Note : Once the application upgrade after this changes, need to do the same after the upgrade as well. This KB only works with version 14504 or higher