FrontPage 

TB Wiki

Login

Regression Test

Expected HTML for page "data_scan_bug_notes"


expected html
nothing
t1The bug is in handling multi-line fields in the data_scan module.t
2<p>
3On the page: <a href="http://bird.org/Fuego_Issue_List">http://bird.org/Fuego_Issue_List</a> there is a database
4definition with a match_spec that includes a multi-line field (Description).
5This field is not getting parsed by the routine data_scan:scan_attr_db().
6<p>
7I'm not sure what the syntax is supposed to be for multi-line fields,
8but here is the current definition in the match_spec:
9<p>
10<pre>
11Description=^= Description =()
12Description_endpat=^=()
13</pre>
14<p>
15<h2><a name="Location_of_routines">Location of routines</a>
16<span align=right class="section_edit_link">[<a href="/tbwiki/data_scan_bug_notes?action=edit&section=Location_of_routines">edit section</a>]</font></span>
17</h2>
18<ul><li>in table.py, db_from_parsed_files() calls data_scan.scan_attr_db()
19<li>in data_scan.py scan_attr_db() calls parse_data()
20</ul>
21<p>
22There's a FIXTHIS line in parse_data that says that multi-line values are not tested.
23<p>
24<h2><a name="traceback_showing_call_stack">traceback showing call stack</a>
25<span align=right class="section_edit_link">[<a href="/tbwiki/data_scan_bug_notes?action=edit&section=traceback_showing_call_stack">edit section</a>]</font></span>
26</h2>
27<pre>  File "fuego.cgi", line 54, in
28    main(req)
29  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 1490, in main
30    html = block_to_html(req, page_data)
31  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 1026, in block_to_html
32    html += line_to_html(req.state, newline + '\n')
33  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 1087, in line_to_html
34    html += state.req.processors[state.processor][1](state.req, state.block_content)
35  File "/home2/birdorg/work/tbwiki-data/fuego/plugins/ProcessorTable.py", line 15, in Table
36    result = table.get_table(req, content)
37  File "/home2/birdorg/work/tbwiki/cgi-bin/table.py", line 1293, in get_table
38    tb = setup_conf_and_db(req, content)
39  File "/home2/birdorg/work/tbwiki/cgi-bin/table.py", line 1249, in setup_conf_and_db
40    req.page_name, conf)
41  File "/home2/birdorg/work/tbwiki/cgi-bin/table.py", line 1987, in get_table_data
42    tb.handler.read()
43  File "/home2/birdorg/work/tbwiki/cgi-bin/table.py", line 474, in read
44    db_from_parsed_files(self.tb, self.data_dir, self.source_spec)
45  File "/home2/birdorg/work/tbwiki/cgi-bin/table.py", line 1740, in db_from_parsed_files
46    match_spec, 1)
47  File "/home2/birdorg/work/tbwiki/cgi-bin/data_scan.py", line 480, in scan_attr_db
48    drprint(req, mv.__dict__)
49  File "/home2/birdorg/work/tbwiki/cgi-bin/data_scan.py", line 112, in drprint
50    rprint(req, msg)
51  File "/home2/birdorg/work/tbwiki/cgi-bin/data_scan.py", line 100, in rprint
52    req.add_to_message(msg)
53  File "/home2/birdorg/work/tbwiki/cgi-bin/tbwiki_engine.py", line 180, in add_to_message
54    self.message += msg + "
55</pre>
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Differences for page "data_scan_bug_notes"


expected html
generated html
t No Differences Found t No Differences Found 
Legends
Colors
 Added 
Changed
Deleted
Links
(f)irst change
(n)ext change
(t)op

Update saved output

Back to diff page

Return to Regression_Test page
TBWiki engine 1.9.3 by Tim Bird