-
Bug
-
Resolution: Timed out
-
Low
-
2.7.10
-
None
-
Severity 3 - Minor
-
If you create a Permission Scheme named, for example, permission+scheme, you cannot rename neither delete it.
This is thrown in the debug logs when I try to rename it:
2012-10-31 14:19:49,098 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /admin/editPermScheme.do?name=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:49,112 ERROR [btpool0-5 ] fisheye.app EditPermSchemeAction-getActions - Permission Scheme not found: permission scheme 2012-10-31 14:19:49,131 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - end request GET /admin/editPermScheme.do?name=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:53,954 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - start request POST /admin/renamePermScheme.do?oldPSName=permission%20scheme&newPSName=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:53,979 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - end request POST /admin/renamePermScheme.do?oldPSName=permission%20scheme&newPSName=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah
It says it could not find the permission scheme.
This is thrown in the debug logs when I try to delete it:
2012-10-31 14:19:07,878 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /admin/listPermSchemes.do sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:07,908 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - end request GET /admin/listPermSchemes.do sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:10,248 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - start request GET /admin/deletePermScheme.do?name=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah 2012-10-31 14:19:10,277 DEBUG [btpool0-5 ] fisheye.perf ProfilingServletFilter-logRequest - end request GET /admin/deletePermScheme.do?name=permission%20scheme sessionid=tm6cgnn162j5b9bd72almrah
No ERROR message, only start / end requests.
This can be seen in the web interface when I try to rename it or delete it:
Workaround:
Edit the permission scheme name directly in the database.
Please shutdown your FishEye/Crucible instance and create a safety backup of your database before running the following SQL queries:
- Search for the permission scheme ID:
SELECT * FROM cru_perm_scheme;
- Annotate the value of the cru_ps_id column corresponding to the problematic permission scheme name. Supposing that the value is 10:
- Rename the permission scheme:
UPDATE cru_perm_scheme SET cru_name = 'MyPermissionSchemeName' WHERE cru_ps_id = 10
Please replace MyPermissionSchemeName in the query above by a name of your choice, without special characters.
- Start the FishEye / Crucible instance again.
Hi everyone,
This issue has been reported several years ago for version older than 3.0.0, which is over 18 major releases behind the latest Fisheye/Crucible version. Additionally, it has not get interest since the time it has been reported. Therefore, we decided to close the issue as Timed Out.
If you still see this bug occurring in the latest release and a fix is very important for you, please don't hesitate to share your feedback in the issue comments. We will continue to watch the issue for further updates.
Cheers
Marek Parfianowicz
Fisheye/Crucible TL