HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Lua console featured text brings stack to overflow
Say you want to share with your allies the data about which of your units have no upkeep. If your player number is 0, you write:
for u in find.player(28):units_iterate() do if u.homecity <= 0 then log.normal('\\[l tgt="unit" id=%d name="%s" /\\]',u.id,u.utype:rule_name()) end end
You expect to get links to copy into chat but all you get is segfault from stack overflow.
Most likely some flaw is in
but I could not catch it.
#2 Updated by Alexandro Ignatiev 7 months ago
- File 0001-Auto-close-tags-at-the-end-of-featured-texts.patch 0001-Auto-close-tags-at-the-end-of-featured-texts.patch added
Resolved for me (Linux/Gtk3.22). This sometimes produces links with zero visible content (but still clickable) but it seems to be the solution least changing the behaviour.