Troubleshooting Tip: How to delete policy package folder that contains a forward slash (/) in its name On FortiManager 7.6.3
| Description | This article describes how to resolve issues where the FortiManager GUI does not allow the user to delete a policy package folder that contains a forward slash (/) in its name. Such names may cause unexpected behavior, including the inability to view, rename, move, or delete the affected item via the GUI or API. |
| Scope | FortiManager v7.6.3. |
| Solution | When a user creates a folder in Policy & Objects -> Policy Packages with a name that includes a forward slash ('/'). For example, 'test/test': there is a known issue in v 7.6.3 where the GUI does not allow the user to delete the policy package folder. An error message is displayed: 'cannot get pkg path'.
Workaround: As a workaround, it is possible to delete the policy package folder using the FortiManager JSON API instead of the GUI:
{{pp_name}}="test\\/test" and {{adom}}=root
Note: Two backslashes '\\' have to be added before every forward slash in the policy package name '/', otherwise an Error will occur that the URL is invalid when posting the API Call
Important note: The issue is fixed in FortiManager v7.6.4 and later. FortiManager 7.4 is not affected. |
