This allows additional error reporting by returning an error message.
Edit Issue screen
public String ucEditPreUpdate ( Problem pOldProblem, // the problem or case ArrayList pOldReleases, // the list of releases ArrayList pOldModules, // the list of modules ArrayList pOldUdfs, // the list of UDF's Problem pNewProblem, // the problem or case ArrayList pNewReleases, // the list of releases ArrayList pNewModules, // the list of modules ArrayList pNewUdfs, // the list of UDF's SesameSession session, // current session ProblemFormParam pfp) // values of from the form
This is called during the Edit update process before any updates are done. It also allows a final manipulation of values prior to attempting the update.
public String ucEditPreUpdate ( Problem oldItem, // the item or case ArrayList oldReleases, // the list of releases ArrayList oldModules, // the list of modules ArrayList oldUdfs, // the list of UDF's Problem newItem, // the item or case ArrayList newReleases, // the list of releases ArrayList newModules, // the list of modules ArrayList newUdfs, // the list of UDF's SesameSession session, // current session ProblemFormParam values) { // values of from the form. String error = super.ucEditPreUpdate(oldItem, oldReleases, oldModules, oldUdfs, newItem, newReleases, newModules, newUdfs, session, values); if (error != null) return error; executeIntegration(oldItem, newItem, values); return null; }