#87 ✓resolved
Gaspard Bucher

parser @pass should not be shared with parent

Reported by Gaspard Bucher | September 3rd, 2008 @ 03:04 PM | in 1.0

Originally posted on Trac by gaspard Original Trac Ticket

 Description

We should replace :


@pass[:add] = self
if @pass[:add_link] ...

with


pass[:add] = self
if @descendant[:add_link] ...

Or even remove all this @pass, preflight stuff and use :


if descendant[:add_link] ...

def descendant
  @descendants ||= begin
    @blocks.each do |elem|
      ...
    end
  end
end

Trac Attachments

Trac Comments

2007-09-23 09:00:24 changed by gaspard

(In [750]) Replaced @pass with 'descendants' in Parser. Fixes #87 (1)

hours set to 1.0.

status changed from new to closed.

resolution set to fixed.

totalhours changed from 0.0 to 1.0.

(In [750]) Replaced @pass with 'descendants' in Parser. Fixes #87 (1)

hours set to 1.0.

status changed from new to closed.

resolution set to fixed.

totalhours changed from 0.0 to 1.0.

2007-09-23 09:00:30 changed by gaspard

(In [751]) Implemented basic drag&drop support. Closes #89 (4) Fixed some bugs related to templates. Refs #75 (1.5) Some cleanup in Parser (removed @pass). Closes #87 (1.5)

hours set to 1.5.

totalhours changed from 1.0 to 2.5.

(In [751]) Implemented basic drag&drop support. Closes #89 (4) Fixed some bugs related to templates. Refs #75 (1.5) Some cleanup in Parser (removed @pass). Closes #87 (1.5)

hours set to 1.5.

totalhours changed from 1.0 to 2.5.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Anyone knows how to use formatting here ?

Git repository: http://github.com/zena

Official website: http://zenadmin.org

Shared Ticket Bins

People watching this ticket

Tags

Referenced by

Pages