Re: ACTION-2192: Propose text for error for submit to a nonexistent submission

Sounds good.

Steven

On Wed, 22 Aug 2018 17:54:32 +0200, Erik Bruchez <ebruchez@orbeon.com>  
wrote:

> If you view `xf:submit` as just a shortcut for `xf:trigger` + `xf:send`,  
> `xforms-action-error` sounds reasonable.
>
> I would lean towards dispatching the same error in both cases: when  
> using `xf:send` and when using the `xf:submit` shortcut. Since we have  
> standardized the use of `xforms->action-error` in actions, I would be ok  
> keeping `xforms-action-error` for `xf:submit`.
>
> Maybe we could present `xf:submit` more explicitly as a shortcut for  
> `xf:trigger` + `xf:send`.
>
> -Erik
>
> On Wed, Aug 22, 2018 at 8:07 AM Steven Pemberton  
> <steven.pemberton@cwi.nl> wrote:
>> So what error should be generated for a submit that doesn't identify a  
>> submission?
>>
>> Most similar cases are generated by actions, that generate an  
>> xforms-action-error. But submit is a control, not an action.
>>
>> The closest for controls is xforms-bind-error, but in this case, it's  
>> not really a binding.
>>
>> If the instance attribute of submission does not indicate an instance  
>> in the same model as the submission, submission fails with  
>> target-model-error, which is a rather specific error.
>>
>> Any good suggestions?
>>
>> Steven
>>
>>
>> On Wed, 22 Aug 2018 15:16:03 +0200, XForms Users Community Group Issue  
>> Tracker <sysbot+tracker@w3.org> wrote:
>>
>>> ACTION-2192: Propose text for error for submit to a nonexistent  
>>> submission
>>>
>>> https://www.w3.org/2005/06/tracker/xforms/actions/2192
>>>
>>> Assigned to: Steven Pemberton
>>>
>>>
>>>
>>>
>>>
>>>

Received on Wednesday, 22 August 2018 18:06:53 UTC