Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 5620] New: cast --queue reports non-empty queue when queue is edited prior to cast

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 5620] New: cast --queue reports non-empty queue when queue is edited prior to cast
  • Date: Fri, 30 Jan 2004 07:50:39 -0500

http://bugs.sourcemage.org/show_bug.cgi?id=5620

Summary: cast --queue reports non-empty queue when queue is
edited prior to cast
Product: Sorcery
Version: 1.x Series
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Cast
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: otom7630 AT lucy.troja.mff.cuni.cz


If you do cast --queue and remove some spells from queue during queue review,
cast reports queue is not empty after completing casting, even in case when
all
spells are successfull. This happens because it tests whether queue is zero
length, not whether it contains spells. Solution: check if queue really
contains
some spells after cast. Other possible solution (probably better): modify
queue
so there will never be empty lines. However this may be hard to ensure so
former
solution should be used just in case, to be on the safe side ;-)

Easiest way to reproduce is to add empty line to
/var/log/sorcery/queue/install,
and do cast --queue. If you don't have anything in queue before this action,
you'll get the erroneous message right away :)

Attaching patch to fix in few moments :)

Andy



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Sorcery-Bugs] [Bug 5620] New: cast --queue reports non-empty queue when queue is edited prior to cast, bugzilla-daemon, 01/30/2004

Archive powered by MHonArc 2.6.24.

Top of Page