Issue Details (XML | Word | Printable)

Key: ST-52
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Jonathan Kohl
Reporter: Jared Quinert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Session Tester

Generated a web report, but the last bug went missing

Created: 02/Apr/09 08:05 PM   Updated: 28/May/09 07:27 PM   Resolved: 20/Apr/09 01:36 PM
Component/s: None
Affects Version/s: 0.2
Fix Version/s: 0.21

File Attachments: 1. Microsoft Word session content.rtf (1 kB) 02/Apr/09 08:05 PM - Jared Quinert
2. XML File testing_session_2009_4_3_11_17_54_153.xml (1 kB) 02/Apr/09 08:07 PM - Jared Quinert
3. HTML File testing_session_2009_5_10_12_8_49_815.html (2 kB) 16/May/09 02:41 AM - Ben Kelly



 Description  « Hide

Ran a session, included three bugs, each with an @bug tag. When I generated the web report, the third bug wasn't appearing. It appears to be missing from the xml. I've attached the session text as entered and the xml saved.

Steps:
1. Enter the following in a new ST session:

@notes
Here is a note
@bug
Here is a bug
@bug
HEre is another bug

2. Save, generate bug report.

Results
"@bug
HEre is another bug" is missing in both the XML and HTML files.



Sort Order: Ascending order - Click to sort in descending order
Jared Quinert added a comment - 02/Apr/09 08:05 PM

Session content for missing bug


Jared Quinert added a comment - 02/Apr/09 08:07 PM

Session xml


Jonathan Kohl added a comment - 02/Apr/09 08:31 PM

Need to see if we can repeat this as described. This has been mentioned in passing to me, but I haven't seen it before.


Aaron West added a comment - 06/Apr/09 03:26 PM

Reproduced.. this bug is related to having two tags in a row, and is a problem in the regex session parser.

eg..
@bug
bug 1
@bug
bug 2
@bug
bug 3

will result in bug 2 being dropped from the file, but bugs 1 & 2 recorded.

This looks like a long standing issue. Working on the fix now.


Aaron West added a comment - 20/Apr/09 01:36 PM

Problem with Regex selection boundary
Changed RegEx
\\s*\n(?!@)(.*?)(?:\n@|
z)
to:
\\s*\n(?!@)(.*?)(?=\n@|
z)


Ben Kelly added a comment - 16/May/09 02:41 AM

Adding test session to confirm bug fix. (Fix confirmed)
Other issues found - will raise these separately if not already done.


Jared Quinert added a comment - 28/May/09 07:27 PM

Retested, Fixed