Note: There are a few cases of duplicates in user autocompletion which are being worked on.

actions are handled wrong

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
12 years ago
a year ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

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

Description

12 years ago
Our actions dispatch events to the model to "make things happen". That's actually wrong. F.x. for rebuild:
"This action causes the processing of xforms-rebuild to happen, bypassing the normal event flow."
[http://www.w3.org/TR/2006/REC-xforms-20060314/slice10.html#action-rebuild]

Note "bypassing the normal event flow". So the action should be performed no matter what. So we need to tell the model to do the action directly, without the event.

This is probably needed for bug 300591 also, so it might happen as part of that.
(Reporter)

Comment 1

12 years ago
Oh, and:
"Actions that directly invoke rebuild, recalculate, revalidate, or refresh always have an immediate effect, and clear the corresponding flag. The XForms Actions in this category are:

    rebuild
    recalculate
    revalidate
    refresh
"
[http://www.w3.org/TR/2006/REC-xforms-20060314/slice10.html#action-action]
(Reporter)

Comment 2

11 years ago
Created attachment 222169 [details]
Testcase
Assignee: aaronr → allan
Status: NEW → ASSIGNED
(Reporter)

Comment 3

11 years ago
I'm 99% sure that this will be handled by bug 300591.
Depends on: 300591
(Reporter)

Comment 4

11 years ago
Hmm, just discovered that anything inside an action block should _never_ send events -- including the action block itself. That seems weird (wrong) to me.

I've written to the WG:
http://lists.w3.org/Archives/Public/www-forms/2006May/0129.html

Comment 5

11 years ago
(In reply to comment #4)
> Hmm, just discovered that anything inside an action block should _never_ send
> events -- including the action block itself. That seems weird (wrong) to me.
> 
> I've written to the WG:
> http://lists.w3.org/Archives/Public/www-forms/2006May/0129.html
> 

current thinking:
http://www.w3.org/MarkUp/Forms/Group/Drafts/Sources/REC-xforms-10-2ndEdition-errata.html#E5a
(Reporter)

Updated

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