Opened 17 years ago

Closed 17 years ago

#5824 closed (fixed)

startapp command passes the wrong project name to copy_helper

Reported by: Gary Wilson Owned by: nobody
Component: Core (Other) Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The directory passed to the startapp command's handle_label method is already the project directory. There is no need to determine its parent directory. Currently the method is passing the name of the parent directory to the copy_helper function instead of the project name, which is really the basename of the path passed as directory. This really isn't affecting too much at the moment since there is no {{ project_name }} used in the app_template skeleton files, but it is a bug.

Change History (1)

comment:1 by Gary Wilson, 17 years ago

Resolution: fixed
Status: newclosed

(In [6621]) Fixed #5824 -- For the startapp command, pass the true project name to the copy_helper function instead of the name of the project's parent directory.

Note: See TracTickets for help on using tickets.
Back to Top