You are here: Foswiki>Tasks Web>Item2387 (23 Nov 2009, MichaelDaum)Edit Attach

Item2387: FORMFIELD reads from rcs file ... should read txt file

pencil
Priority: Urgent
Current State: Closed
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: MichaelDaum
Waiting For:
Last Change By: MichaelDaum
can you me a bit more specific - ie point out what makes you think this is so? and then how to reproduce it..

-- SvenDowideit - 20 Nov 2009

  1. Set up Foswiki using fastcgi or mod_perl.
  2. Create a topic with a Formfield.
  3. Add a call to %FORMFIELD{"Formfield" topic="Tasks.Item2387"}%, best in a view template to repro the situation I have.
  4. Change the value of Formfield and force a new revision.
  5. Change the value of Formfield again and make sure the ,v wasn't touched
  6. you should now see the changes from step (4) ... should be those of step (5)

Hope anybody will be able to confirm this error. That's better than wondering whether I f*ed up my personal install.

Most probably this is related to Foswiki::Meta's load logic. We had a similar problem recently where renaming a topic restored a previous version instead of using the one in the txt file.

-- MichaelDaum - 20 Nov 2009

Please anybody help. This is really an annoying bug related to the new Meta.pm code.

Might be similar to Item2299.

-- MichaelDaum - 23 Nov 2009

Found the error: Foswiki::Store::cleanUpRevID('') must return the latest revision, i.e. 0, not '1'.

-- MichaelDaum - 23 Nov 2009

ItemTemplate edit

Summary FORMFIELD reads from rcs file ... should read txt file
ReportedBy MichaelDaum
Codebase trunk
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:7ad2e58bba83 distro:fed895c3ade8
TargetRelease n/a
ReleasedIn
Topic revision: r4 - 23 Nov 2009, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy