Last Comment Bug 332231 - actions are handled wrong
: actions are handled wrong
Status: RESOLVED WONTFIX
:
Product: Core Graveyard
Classification: Graveyard
Component: XForms (show other bugs)
: Trunk
: All All
: -- normal (vote)
: ---
Assigned To: xforms
: Stephen Pride
:
Mentors:
http://www.w3.org/TR/2006/REC-xforms-...
Depends on: 300591
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-30 06:23 PST by Allan Beaufour
Modified: 2016-07-15 14:46 PDT (History)
3 users (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
Testcase (1.86 KB, application/xhtml+xml)
2006-05-16 05:35 PDT, Allan Beaufour
no flags Details

Description Allan Beaufour 2006-03-30 06:23:30 PST
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.
Comment 1 Allan Beaufour 2006-03-31 03:43:38 PST
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]
Comment 2 Allan Beaufour 2006-05-16 05:35:44 PDT
Created attachment 222169 [details]
Testcase
Comment 3 Allan Beaufour 2006-05-16 05:36:30 PDT
I'm 99% sure that this will be handled by bug 300591.
Comment 4 Allan Beaufour 2006-05-18 01:39:47 PDT
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 aaronr 2006-06-19 16:09:19 PDT
(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
Comment 6 David Bolter [:davidb] 2016-02-04 12:22:37 PST
RIP xforms

Note You need to log in before you can comment on or make changes to this bug.