-
Notifications
You must be signed in to change notification settings - Fork 82
instance destination doesn't do anything #66
Comments
Reported by |
Yeah, instance destination should probably create the requested custom destination node in the |
* it still doesn’t support `..`, but it does support nested paths. * resolves getodk#66.
I know I filled this issue, but I have no idea what someone would use instance destination for. I think this might have been used as a hack to rename the data name? Any ideas why we had this in the first place, @clint-tseng? |
shrug. Seemed like elementary XForms functionality, so this feature has existed, albeit somewhat broken, since the very first imagining of this application. If you'd rather just strip it out, I can take a look at existing forms to see if we can safely deprecate. |
I legit can't think of why we had it as a thing in the first place. Summoning @MartijnR in case he knows. Either way, I agree that a good next step is to see how existing forms use it. |
I don't know what it is either. A form control without a corresponding primary instance node would crash a form in Enketo. |
@MartijnR I think the question is whether there is a strong case for being able to customize the exact instance destination node path; eg you want to build your own XML structure, vs rely on the automagic one we infer. |
I can't think of a strong case for being able to customize the exact instance destination node. Or rather, in my many years of form design, it has never crossed my mind to want that feature and I haven't seen someone ask for it on the mailing list. For those reasons, I'm voting for a deprecation, but I think it'd be prudent to wait for the review of the existing forms. |
Oooh. Totally misunderstood the feature. Sorry about that. I haven't really
come across this need either.
…On Sun, May 21, 2017 at 7:30 PM, Yaw Anokwa ***@***.***> wrote:
I can't think of a strong case for being able to customize the exact
instance destination node. Or rather, in my many years of form design, it
has never crossed my mind to want that feature and I haven't seen someone
ask for it on the mailing list.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAmSloeRrFUCylzd_FwVslNV9ozwkQ9Zks5r8OUngaJpZM4LXCUB>
.
--
--
*Revolutionizing data collection since 2012.*
Enketo <https://enketo.org/> | LinkedIn
<http://www.linkedin.com/company/enketo-llc> | GitHub
<https://github.com/enketo> | Twitter <https://twitter.com/enketo>
| Blog <http://blog.enketo.org/>
|
Okay. For now, I will remove this feature from the |
Putting this in the |
I performed a review of this feature's usage. Only ~0.4% of forms attempt to use Having reviewed every instance of this feature's use, it seems deprecation would disappoint roughly 3 people, who were probably already disappointed when their careful use of the feature failed to work without PR #139. Deprecating. |
* See getodk#66 (comment) for deprecation rationale. * This deprecation does not attempt to prune the now-dormant data being carried around on the internal JSON payload. This is largely harmless, and can be done at a later date should a desire arise. * Any form that attempted to use this feature would have behaved unexpectedly without PR getodk#139; the only behavioural change these forms will see is that binding will point at valid inferred XML nodes rather than probably-nonexistent custom ones.
control/rm #66: remove instance destination feature entirely.
Resolved by deletion (#167). |
Thursday Jul 09, 2015 at 18:08 GMT
Originally opened as getodk/getodk#288 (1 comment(s))
Originally reported on Google Code with ID 287
Reported by
yanokwa
on 2011-08-03 22:26:52The text was updated successfully, but these errors were encountered: