Roundup Tracker - Issues

Message2592

Author ksenia_m
Recipients
Date 2008-10-08.12:33:00
Message-id
In-reply-to
Hi,

From the docstring in form_parser.py:
'''
            If both the "@note" and "@file" form variables are
            specified, the action::

                    @link@msg-1@files=file-1

            is also performed.
'''

Unfortunately when using this action directly on the form (<input type="hidden" name="@link@msg-1@files" value="file-1" />), it doesn't work. The reason:  fieldname "@link@msg-1@files" is not matched by regular expression in FV_LABELS.

    FV_LABELS = r'''
       ^(
         (?P<note>[@:]note)|
         (?P<file>[@:]file)|
         (
          ((?P<classname>%s)(?P<id>[-\d]+))?  # optional leading designator
          ((?P<required>[@:]required$)|       # :required
           (
            (
             (?P<add>[@:]add[@:])|            # :add:<prop>
             (?P<remove>[@:]remove[@:])|      # :remove:<prop>
             (?P<confirm>[@:]confirm[@:])|    # :confirm:<prop>
             (?P<link>[@:]link[@:])|          # :link:<prop>
             ([@:])                           # just a separator
            )?
            (?P<propname>[^@:]+)             # <prop>
           )
          )
         )
        )$'''

History
Date User Action Args
2009-02-03 14:22:20adminlinkissue2153101 messages
2009-02-03 14:22:20admincreate