Code

Opened 7 years ago

Closed 7 years ago

#5824 closed (fixed)

startapp command passes the wrong project name to copy_helper

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

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.

Attachments (0)

Change History (1)

comment:1 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

(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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.