• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

The NewUserFormTemplate assignes the form %MAINWEB%.UserForm to each created user. The %MAINWEB% variable does not get expanded when instanciating a user topic and remains in the meta data as:


But this will freak out the engine if the DBCacheContrib is installed and used by a plugin that tries to generate a WebDB from the form data with the message "bad map expression".

Possible fixes:

  1. remove %MAINWEB% from the NewUserFormTemplate's meta data
  2. expand the %MAINWEB% variable when instanciating templates in general
  3. fix the DBCacheContrib to cope with "unpleasant" form names

I'd opt for (1) as it is a simple change. Users will always be in the %MAINWEB% (in dakar) and the UserForm is there also. No point in putting there a %MAINWEB%

MD

Since this sort of construct is vaild in form specs (unfortunately) the DBCacheContrib should handle it.

SVN 7260

CC

Form definition 'Main.UserForm' not found
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-11-01 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback