Page MenuHomePhabricator

bars defined in PlotData but unused in BarData throw an error
Open, LowPublicBUG REPORT

Description

Author: a.d.bergi

Description:
The documentations say that the following code would be valid:

...
BarData =

bar:3 text:
bar:1 text:some

PlotData =

color:hellgrau width:0.1  #hellgrau is correctly defined
Bar:3 from:start till:end
Bar:2 from:start till:end
Bar:1 from:start till:end

...

I had expected it to show the bars 3 and 1, but then an error message is displayed:

Line xx: Bar:2 from:start till:end

  • PlotData invalid. Bar '2' not (properly) defined.

What does it mean? Have I misunderstood something or is this a bug? I'd like to use this functionality in a template where I want to hide some bars conditionally (with the {{tag:timeline| ... }}-function).


Version: unspecified
Severity: major

Details

Reference
bz26345

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 11:23 PM
bzimport added projects: EasyTimeline, TestMe.
bzimport set Reference to bz26345.
bzimport added a subscriber: Unknown Object (MLST).

Bergi: Any chance to provide a minimal testcase, if this is still a problem?

Sorry I am not maintaining EasyTimeline since a few years. I'm not sure anyone is.

Aklapper changed the subtype of this task from "Task" to "Bug Report".Sep 9 2021, 6:56 PM
Aklapper removed a subscriber: wikibugs-l-list.