HTTP 404 reported during the management of Policies in Access Manager

  • 7018599
  • 08-Feb-2017
  • 08-Feb-2017

Environment

NetIQ Access Manager 4.3
NetIQ Access Manager 4.2

Situation

Browsers report 404 errors and an IllegalArgumentException is thrown in the Admin Console catalina log file for the two scenarios below:

1. During the modification of Data Entry Field of a Policy:

Steps to reproduce:
a. Open an existing Policy that has configured a Condition with Value type as Data Entry Field.
b. In the particular Condition, click Edit(image button) next to the Data Entry Field Text box to enter the new value.
c. HTTP 404 Page Not Found error is reported.

Admin Console logs shows IllegalArgumentException as below:

java.lang.IllegalArgumentException: Illegal character in query at index 359: /roma/jsp/admin/policy/conditionedit.jsp?typecontainerid=9mtivrrqe2zam4&typepolicyid=AccessGateway&containerid=mastercdn&policycollectionid=xpemlPEP&policyid=PolicyID_xpemlPEP_AGAuthorization_
1486358195975&policyname=test&rulenumber=1&set=1&condition=1&ruleid=RuleID_1486358195975&width=1600&datatype=urlpath&operator=nxpeOperator_url-path-equals&display=URL Path: URL Path : Equals&oneruleonly=false

2. When clicking on Copy Condition/Copy Action functionality:

Steps to reproduce:
a. Open any existing Policy or create a new Policy.
b. Click Copy Condition/Copy Action(depending upon the type of policy) image button in the right side of the page after expanding/creating a Condition.
c. HTTP 404 Page Not Found error is reported.

Admin Console logs shows IllegalArgumentException as below:

java.lang.IllegalArgumentException: Illegal character in query at index 320: /roma/jsp/admin/policy/ruleedit.jsp?typecontainerid=9mtivrrqe2zam4&typepolicyid=AccessGateway&containerid=mastercdn&policycollectionid=xpemlPEP&policyid=PolicyID_xpemlPEP_AGAuthorization_
1486358195975&policyname=test&rulenumber=1&action=0&ruleid=RuleID_1486358195975&goprevstep=copycondition&copyitem=xpeml:Policy@Name="test"]
/xpeml:Rule@RuleID="RuleID_1486358195975"]/xpeml:ConditionList/xpeml:ConditionSet@SetOrder="1"]/xpeml:Condition@Order="1"]&copyorder=2

Resolution

A bug has been opened with the Engineering. This should be fixed in a future release.
 
Workaround Steps:
 
For scenario, during the modification of Data Entry Field of a Policy:
 
1. Recreate the Condition with the new value within the same Condition Group.
2. Once the new Condition is created, delete the old condition and save the Policy.
 
For scenario, when clicking on Copy Condition/Copy Action functionality:
 
1. Do not use Copy Condition/Copy Action functionality.
2. Instead create the Condition or the Action within the Policy.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.