The truly puzzling aspect here is that the code doing the extraction (the review page) is the same for both paths; they both redirect to the one existing review page. So I feel pretty certain I'm 'use'ing Registration correctly, since it works fine for the renew path.
This suggests a problem on the insertion end...but the code inserting objects into 'registrationArray' is cut & pasted from renew path to new path. I've verified the registration object I'm inserting works fine, for both paths, prior to insertion in 'registrationArray'. Why the object extracted by the review page should work in the one case & fail in the other is, again, damn puzzling.
| [reply] |
So I feel pretty certain I'm 'use'ing Registration correctly, since it works fine for the renew path.
Don't feel, be. You have a line number from your error message; insert require Registration; immediately before it and see what happens.
The error literally means that upon attempting to execute that line, the interpreter could not locate a code reference for "testMethod" in the symbol table for package "Registration". Unless one of your packages is mucking around in symbol table, it means that either Registration doesn't contain a subroutine definition for testMethod or you never compiled Registration. As your other script functions as expected, the first option is off the table.
If the above does not resolve your issue, we need you to follow chromatic's advice, and post a complete code snippet that replicates your issue. I have frequently found constructing such a snippet is a great way to track down the problem.
| [reply] [d/l] |