Summary
The generate command fails with an <UNDEFINED> error when the user specifies a web application path during the template creation process.
The error specifically occurs within the logic that processes the input for web application properties, preventing the successful creation of a module that includes web applications.
Steps to Reproduce
- Enter the ZPM shell:
zpm
- Execute the generate command:
gen
- Enter all module details (folder, name, version, etc.).
- When prompted for web applications, enter a path (e.g.,
/test/test) and press Enter.
Expected Behavior
The generate command should successfully create the module template, including the specified web application configuration in the module.xml file, and return an $$$OK status.
Actual Behavior
The command terminates with an ObjectScript error: