How to reproduce:
- in
TestWeb1
(or whatever you cal lit), create a form ContactForm
with a formfield CompanyName
- create a topic
CompanyName
(not sure if that step is needed)
- create a topic and attach this form to it
- move it to another web
TestWeb2
- check out the data of the form after it has been moved using
?raw=all
- your formfield
ContactForm
has been renamed to TestWeb1.ContactForm
and thus has destroyed any code (e.g. $meta->get('FIELD', 'CompanyName')
) that relied on it to be called ContactForm
and not TestWeb1.ContactForm
.
How do we resolve this? Is it okay to never ever rewrite formfield names (and titles)? When would you expect formfield
names to be renamed
the same way normal
WikiWords are?
--
TWiki:Main/MichaelDaum
- 30 Sep 2008
years ago, I started to use fully qualified names for formfields - as in, always Web dot
WIkiName for exactly this reason.
None the less thou, I found it necessary to make moves and renames affect form meta data (as for
WikiWord renames) - as I found myself moving form definition topics (after they had been used for a while) to a separate web.
--
TWiki:Main.SvenDowideit
- 05 Oct 2008
Re-prioritized from urgent to normal at
TWiki:Codev/GeorgetownReleaseMeeting2008x11x24
--
TWiki:Main.PeterThoeny
- 25 Nov 2008