I’m getting lots of these on upgrading from 6.0.8 to 6.1.2. I am using @param values in the called methods, in each case.
For example, this snippet, which was fine in 6.0.8 –
if((field_CT >= 293) && (aFieldStr[293-1])) {
import_SELPA_central_ethnicity(allowUpdates_B, 6, aFieldStr[293-1], student_uid, fsAssessment['asmt_assessment_id'], studentText, tableNbr_ethnAsmt, aRecsNew, aRecsUpdate, aProblems)
aRecsRead[tableNbr_ethnAsmt] += 1;
}
… now generates this warning on “import_SELPA_central_ethnicity” –
The function
import_SELPA_central_ethnicity(Boolean,Number,String,UUID,UUID,String,Number,Array,Array,
Array) is not applicable for the arguments
(Boolean,Number,None,String,?,String,Number,Array,Array,Array)
The beginning of the called method looks like this,
**
* import_SELPA_central_ethnicity()
*
* 11.19.2012
*
* @param {boolean} allowUpdate_B
* @param {number} ethnNumber
* @param {string} ethnCode
* @param {string} assmt_pk
* @param {string} student_pk
* @param {string} studentText
* @param {number} tableNbr_ethnicity
* @param {Array} aRecsNew
* @param {Array} aRecsUpdate
* @param {Array} aProblems
*
* @properties={typeid:24,uuid:"68CB001F-72E8-4C42-BB58-B32635CD6F88"}
*
*
* @AllowToRunInFind
*/
function import_SELPA_central_ethnicity(allowUpdate_B, ethnNumber, ethnCode, assmt_pk, student_pk, studentText, tableNbr_ethnicity, aRecsNew, aRecsUpdate, aProblems) {
var tempText = "";
I tried substituting “UUID” for “string” in the @param definitions for assmt_pk and student_pk, but to no avail. How can I fix these warnings?
Thank you,
Don