TEST 1 2 3

This version of Wbna4483752 - Breaking News | NBC News Clone was adapted by NBC News Clone to help readers digest key facts more efficiently.

Test
Testsd

2/19/2004 7:39 AM Opened by j-marcs (Bug 2015 - MSNBCi)

Will Femia reports:

This is my second time in two days getting this error. I know you can’t duplicate it, but clearly this is more than a random glitch. This time I was working on a story document. I highlighted a piece of text and hit the delete button on my keyboard, and this error popped up. Last night I got this error trying to open a document. Last night I hit "OK" and the whole WB3 application closed. Today I hit "CANCEL" and got the second error message below. Hitting "cancel" on the second error caused WB3 to close itself (and probably lose all the work I’d just done in that document.)

Will reported the same problem last night:

Right clicked a document (4277385) in folder view, chose "open edit" and when the editor opened it was a white screen with this error. When I clicked OK, the whole WB3 closed. On the second try the document opened just fine. I’m VPN from home by cable modem to TS.

Multiple editors are seeing this problem and they are losing lots of work, so it is something that should take high priority.

STAKEHOLDERS: all editors using the tool

SYNOPSIS: doesn't seem to be related to one thing in particular such as cutting/pasting. Paige Newman also saw the same problem when trying to just edit a story.

Triage - Assigning to Jen to repro and see if this is related to the other blog bugs that Manish has fixed in QFE 0213.

Manish -

From John Hynes:

We are 85% certain it is coming from the same javascript function. The problem is in the last 4 lines of code in the xhtml.htc:FixParagraph() function. Not sure why it breaks, but we can re-write this.

// if not a p add a p @@HACK

if (! (xhtml1.firstChild.tagName == "P" || xhtml1.firstChild.tagName == "A"))

{

// make the first element a P

var p=xhtml1.document.createElement("p");

var fc = xhtml1.firstChild;

xhtml1.insertBefore(p, fc);

p.appendChild(fc);

}

For the last month, we have just been moving the problem around. I also confirmed the problem with Laurie Snyder of Slate.

Just a note. Jon Bonne in the Newsroom has seen this come up twice this morning. he was creating a new interactive tease when the errors mentioned in this bug appeared. Thanks

Triage - Updated Category

Any chance of moving this up to a HOTFIX for today? I've heard reports from at least 4 editors this morning of wb30 crashing due to this error and its only 9am. I will send mail to triage as well.

Triage - This is going in as a high priority QFE that we would like added to the 3/8 QFE. Manish, please assign to Joe for resolution testing.

There are two issues in this bug.

1) Editor crashes randomly when it is opened

2) Editor crashed randomly when editing a field like deleting some text in a field.

We identified a piece of text which was the most probable cause of this exception when the editor is opened. This piece of code was rewritten.

Issue number 2 is still under investigation.

Code Reviewed by: John

Risk:

Editorial Web Servers: Minimal – Rewritten a piece of code which is called when the editor is opened

All other Servers: None

How to test:

· Open different type of documents in edit and read only mode. See if they open correctly and preview correctly.

· Make changes in these documents. Save, close and re open these documents. Check if everything is working fine.

· Delete everything in a field using the backspace key and the delete key. Write some text in the field. Save, close and re open, preview the document

· Delete everything in a field using the backspace key and the delete key. Paste some text from word in the field. Save, close and re open, preview the document.

· Drag and drop some text in an empty field. Save, close and re open, preview the document

· Insert bullet list and number list in a field. Save, close and re open, preview the document

· Insert component like image in a field. Save, close and re open, preview the document

Files:

Main Branch – Change: 3596

WB30 Branch -- Change:3595

Files

//depot/WB30/private/WB/Core/Web-Editorial-DHTML/Editor/htc/xhtml.htc # edit

Per Manish's mail:

How to test:

1 Open different type of documents in edit and read only mode. See if they open correctly and preview correctly.

2 Make changes in these documents. Save, close and re open these documents. Check if everything is working fine.

3 Delete everything in a field using the backspace key and the delete key. Write some text in the field. Save, close and re open, preview the document

4 Delete everything in a field using the backspace key and the delete key. Paste some text from word in the field. Save, close and re open, preview the document.

5 Drag and drop some text in an empty field. Save, close and re open, preview the document

6 Insert bullet list and number list in a field. Save, close and re open, preview the document

7 Insert component like image in a field. Save, close and re open, preview the document

I've tested 1-5, and Jen is currently working on 6,7.

Joe

Items 6 and 7 have been verified. This bug has been regressed and is ready to be released with the 0227 QFE today 3/8.

×
AdBlock Detected!
Please disable it to support our content.

Related Articles

Donald Trump Presidency Updates - Politics and Government | NBC News Clone | Inflation Rates 2025 Analysis - Business and Economy | NBC News Clone | Latest Vaccine Developments - Health and Medicine | NBC News Clone | Ukraine Russia Conflict Updates - World News | NBC News Clone | Openai Chatgpt News - Technology and Innovation | NBC News Clone | 2024 Paris Games Highlights - Sports and Recreation | NBC News Clone | Extreme Weather Events - Weather and Climate | NBC News Clone | Hollywood Updates - Entertainment and Celebrity | NBC News Clone | Government Transparency - Investigations and Analysis | NBC News Clone | Community Stories - Local News and Communities | NBC News Clone