• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item6032: moving a topic accross webs destroys its twikiform

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal New   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

How to reproduce:

  1. in TestWeb1 (or whatever you cal lit), create a form ContactForm with a formfield CompanyName
  2. create a topic CompanyName (not sure if that step is needed)
  3. create a topic and attach this form to it
  4. move it to another web TestWeb2
  5. check out the data of the form after it has been moved using ?raw=all
  6. 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

ItemTemplate
Summary moving a topic accross webs destroys its twikiform
ReportedBy TWiki:Main.MichaelDaum
Codebase

SVN Range TWiki-5.0.0, Tue, 23 Sep 2008, build 17539
AppliesTo Engine
Component

Priority Normal
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-11-25 - PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback