When creating a blackout for database agents, an error message appears.
A popup with the title Validation Result appears. A message similar to below appears in red in body of the popup
Validation action failed: com.quest.wcf.publicapi.code.FunctionInvocationException:
Error executing script id=system:dbwc_blackouts.validateOnce name="'validateOnce' from the System module Databases/Blackouts" message: com.quest.nitro.service.sl.interfaces.scripting.ScriptingException: com.quest.nitro.service.sl.interfaces.scripting.ScriptAbortException:
groovy.lang.MissingMethodException: No signature of method:
system._dbwc_blackouts.scripts.validateOnce.prinltn() is applicable for argument types: (java.lang.String) values:
[failed to update the blackout object] Possible solutions: println(), println(), println(java.lang.Object), println(java.lang.Object), println(java.io.PrintWriter), print(java.lang.Object)
----script start------
/** * This software is confidential. Quest Software Inc., or one of its subsidiaries, has supplied this software to you
* under terms of a license agreement, nondisclosure agreement or both. *
* You may not copy, disclose, or use this software except in accordance with those terms. *
* Copyright 2023 Quest Software Inc. ALL RIGHTS RESERVED. *
* QUEST SOFTWARE INC. MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE SOFTWARE, EITHER EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
* OR NON-INFRINGEMENT. QUEST SOFTWARE SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFE
Code error in the blackout function
WORKAROUND 1
Using a Foglight user that has the Cartridge Developer role
WORKAROUND 2
For cartridge versions on full Support, contact Quest Support for a hotfix for this issue.
STATUS
This issue has been logged as defect FOG-13296 and will be fixed in a future version of the Foglight Database cartridges.