SID-02388: ActionTrackerPlugin: Unescaped left brace error
| Status: |
Answered |
TWiki version: |
6.1.0 |
Perl version: |
5.022004 (linux) |
| Category: |
CategoryPlugins |
Server OS: |
Linux 3.13.0-042stab134.8 (x86_64-linux) |
Last update: |
7 years ago |
After two days of upgrading Perl and TWiki I got (almost) everything up and running again. Except for the
ActionTrackerPlugin. This shows several 'Unecpected left brace' errors:
Unescaped left brace in regex is deprecated, passed through in regex, marked by <-- HERE in
m/%ACTIONNOTIFICATIONS{<--HERE(.*?)}/ at ...../twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm line 122.
m/%ACTION{<--HERE.*?}/ at ...../twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm line 153
m/%ACTION{<--HERE.*?}/ at ...../twiki/lib/TWiki/Plugins/ActionTrackerPlugin.pm line 325
and
m/%NTF{<--HERE.*?}/ at ...../twiki/lib/TWiki/Plugins/NotificationPlugin.pm line 91.
Are
ActionTrackerPlugin and
NotificationPlugin up to date for new Perl? Or am I missing something?
--
Emiel Van Riel - 2019-01-23
Discussion and Answer
The plugin needs to be updated, see
TWikiWithCurrentPerl
--
Peter Thoeny - 2019-01-23
It turns out the
ActionTrackerPlugin has been fixed in SVN, but the package has not been updated. This is now done, please install again.
--
Peter Thoeny - 2019-01-23
Same for
NotificationPlugin, now also new package uploaded.
--
Peter Thoeny - 2019-01-23
Thanks!
--
Emiel Van Riel - 2019-01-24
Sorry, Peter. This seems to solve the problem for
NotificationPlugin, but
ActionTrackerPlugin has another problem: when Upgrading the
ActionTrackerPlugin, the
ActionTrackerPluginInstaller finds an archive
ActionTrackerPlugin.tgz on this machine, and reuses the old version. I renamed the archive file to
ActionTrackerPlugin.tgz.old. After that, the
ActionTrackerPluginInstaller downloaded a new version from the TWiki site. Looks like a bug in
ActionTrackerPluginInstaller to me, isn't it
--
Emiel Van Riel - 2019-01-24
Yes, looks like a bug. Feel free to file a report at
TWikibug:WebHome
--
Peter Thoeny - 2019-01-24
Done. See
Bugs:Item7858
.
--
Emiel Van Riel - 2019-01-24
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.