Issue 72024 - [non-pro] Error: <SwObjectFormatterTxtFrm::DoFormatObjs()> called for invalidate anchor text frame.
Summary: [non-pro] Error: <SwObjectFormatterTxtFrm::DoFormatObjs()> called for invalid...
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: 680m193
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2006-11-27 11:38 UTC by Frank Schönheit
Modified: 2013-08-07 14:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document to reproduce the bug case (113.05 KB, application/vnd.sun.xml.base)
2006-11-27 11:41 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2006-11-27 11:38:23 UTC
- open the attched database document
- open the "date grid" form therein for editing ("Edit" in its context menu)
=> dozens of assertions saying
Error: Assertion failed
==================
FILE      :  O:\SRC680\src\sw\source\core\layout\objectformattertxtfrm.cxx at
line 378
ERROR :  "<SwObjectFormatterTxtFrm::DoFormatObjs()> called for invalidate anchor
text frame."
Comment 1 Frank Schönheit 2006-11-27 11:41:51 UTC
Created attachment 40937 [details]
document to reproduce the bug case
Comment 2 Frank Schönheit 2006-11-27 11:43:56 UTC
This used to work in m190, and is broken in m193
Comment 3 Oliver Specht 2006-11-27 12:46:18 UTC
Reassigned
Comment 4 Oliver-Rainer Wittmann 2007-01-10 08:39:42 UTC
accepted.

defect cause:
During format of the paragraph, at which objects are anchored at, - the anchor
text frame - another format action is triggered. This format action can't format
the paragraph, because it's already in its format. Thus, this paragraph stays
invalid, but its anchored objects are formatted. But the format of an anchored
object excepts an formatted (valid) anchor frame.

the solution has to suppress the recursive format actions. 
Comment 5 Oliver-Rainer Wittmann 2007-01-11 13:59:41 UTC
fixed in cws swqbf92 - changed file:
/sw/source/core/docnode/node.cxx, 1.32.8.1

solution:
suppress format of the frame of the content node, when its text direction is
queried.
Comment 6 Oliver-Rainer Wittmann 2007-01-17 07:21:54 UTC
OD->MRU: Checked in internal non-pro installation set of cws swqbf92 - please
verify.
Comment 7 michael.ruess 2007-01-18 12:28:13 UTC
Verified fix in CWS swqbf92.
Comment 8 michael.ruess 2007-02-01 14:39:04 UTC
Checked fix in SRC680m201.