Edgewall Software

Ticket #6998 (reopened defect)

Opened 6 months ago

Last modified 2 months ago

trac-admin initenv fails when passed single quote on command line

Reported by: justin.r.cutler@… Owned by: anonymous
Priority: low Milestone: 0.13
Component: admin/console Version: 0.10.4
Severity: trivial Keywords: trac-admin needcleanup
Cc:

Description

When trac-admin is called with the non-interactive mode of initenv, an exception is raised if the environment name includes a single quote.

Example:

$ trac-admin trac/test initenv "Test's Project" sqlite:db/trac.db \
  svn svn/test/ /usr/share/trac/templates/

Returns:

Command failed: No closing quotation

Attachments

Change History

  Changed 6 months ago by anonymous

  • owner changed from jonas to anonymous
  • status changed from new to assigned
  • severity changed from major to blocker

follow-up: ↓ 3   Changed 6 months ago by anonymous

  • status changed from assigned to closed
  • resolution set to fixed

in reply to: ↑ 2   Changed 6 months ago by justin.r.cutler@…

  • status changed from closed to reopened
  • resolution fixed deleted
  • milestone 0.10.5 deleted

Replying to anonymous:

Where precisely is this fixed? I have tested this against the latest code in 0.10.5dev, and this bug still exists (as of r6692).

  Changed 6 months ago by cboos

  • keywords needcleanup added
  • priority changed from normal to low
  • component changed from general to admin/console
  • severity changed from blocker to trivial
  • milestone set to 0.12

comment:1 and comment:2 were Ticket spam.

The bug exists, I've taken a look. Fixing it requires us to not enclose each argument within a pair of single quotes (change introduced in [133]), and I have yet to check for the implications of that change.

  Changed 4 months ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

  Changed 4 months ago by eblot

  • status changed from closed to reopened
  • resolution fixed deleted

  Changed 4 months ago by anonymous

can anyone really post into this?

  Changed 4 months ago by anonymous

  • status changed from reopened to closed
  • type changed from defect to enhancement
  • resolution set to fixed
  • milestone changed from 0.12 to 0.11.1

follow-up: ↓ 10   Changed 3 months ago by ebray <hyugaricdeau@…>

  • status changed from closed to reopened
  • type changed from enhancement to defect
  • resolution fixed deleted
  • milestone changed from 0.11.1 to 0.12

in reply to: ↑ 9   Changed 3 months ago by anonymous

Replying to ebray <hyugaricdeau@gmail.com>: hello whats the update

  Changed 2 months ago by anonymous

  • status changed from reopened to closed
  • resolution set to fixed

  Changed 2 months ago by anonymous

  • status changed from closed to reopened
  • resolution fixed deleted

Add/Change #6998 (trac-admin initenv fails when passed single quote on command line)

Author



Change Properties
<Author field>
Action
as reopened
as The resolution will be set. Next status will be 'closed'
to The owner will change. Next status will be 'new'
 
Note: See TracTickets for help on using tickets.