Skip to content

Bug: <UNDEFINED> error when generating module with Web Application input #969

@AshokThangavel

Description

@AshokThangavel

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

  1. Enter the ZPM shell: zpm
  2. Execute the generate command: gen
  3. Enter all module details (folder, name, version, etc.).
  4. 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions