Details
-
Bug
-
Resolution: Done
-
Major
-
jboss-fuse-6.3
-
None
-
%
-
6.3 Sprint 4 (Mar 28 - Apr 29)
Description
Warning when deleting the default version:
Current:
This version is in use and cannot be deleted.
Suggested:
This version is set default and cannot be deleted. (or any better English styling)
The following code snippet covering the same part of the code as this commit should do the trick I guess:
if ($scope.excludes.find((v) => { return v === newValue; })) { $scope.warning = "This version is in use and cannot be deleted." $scope.invalid = true; } else { if ($scope.selectedVersion.defaultVersion === true) { $scope.warning = "This version is set default and cannot be deleted." $scope.invalid = true; } else { $scope.warning = "This operation cannot be undone!"; $scope.invalid = false; } }
Attachments
Issue Links
- relates to
-
ENTESB-4246 Fabric - Wiki: Deleting default version causes exception and disables Wiki page
- Closed