Valid calculate MIPs generate MDG loop error

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
12 years ago
10 months ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

1.62 KB, application/xhtml+xml
Details
(Reporter)

Description

12 years ago
As I wrote in bug 301413, we still have a problem in the MDG regarding loops.

The problem is that using expressions with predicates the MDG sometimes collects
to many dependencies. If the expressions are calculate MIPs a loop will exist in
the MDG graph, making the rebuild fail.
(Reporter)

Comment 1

12 years ago
Created attachment 190522 [details]
Testcase

Here's a testcase for it.
(Reporter)

Comment 2

12 years ago
(In reply to comment #1)
Attachment 190522 [details] fails because the MDG fails to see that '[2]' is a constant
predicate, and thus adds '/root/useArray/use/dont' (all three dont nodes) as a
dependency to both bind 'use1dont' and 'use3dont', resulting in:
use[1]/dont => use[3]/dont => use[1]/dont

I think this should be done as part of bug 265212, as I would rather leave code
that needs to die alone...
Depends on: 265212

Updated

11 years ago
Blocks: 326372

Updated

11 years ago
Blocks: 326373
(Reporter)

Updated

10 years ago
Assignee: allan → xforms
RIP xforms
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.