Strict Standards: Non-static method Flyspray::absoluteURI() should not be called statically in /home/invenzzia/web/bugs/includes/constants.inc.php on line 29 Strict Standards: Non-static method Flyspray::get_tmp_dir() should not be called statically in /home/invenzzia/web/bugs/includes/constants.inc.php on line 77 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/includes/class.flyspray.php on line 754 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/includes/class.flyspray.php on line 754 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /home/invenzzia/web/bugs/header.php on line 29 Strict Standards: Non-static method Flyspray::base_version() should not be called statically in /home/invenzzia/web/bugs/header.php on line 29 Strict Standards: Non-static method Req::val() should not be called statically in /home/invenzzia/web/bugs/header.php on line 39 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26 Strict Standards: Non-static method Req::num() should not be called statically in /home/invenzzia/web/bugs/header.php on line 40 Strict Standards: Non-static method Req::val() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::num() should not be called statically in /home/invenzzia/web/bugs/header.php on line 42 Strict Standards: Non-static method Req::val() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Flyspray::setCookie() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.project.php on line 40 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/includes/class.flyspray.php on line 677 Strict Standards: Non-static method Req::enum() should not be called statically in /home/invenzzia/web/bugs/index.php on line 20 Strict Standards: Non-static method Req::val() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::enum() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 37 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/index.php on line 26 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/index.php on line 26 Strict Standards: Non-static method Cookie::has() should not be called statically in /home/invenzzia/web/bugs/index.php on line 33 Strict Standards: Non-static method Get::val() should not be called statically in /home/invenzzia/web/bugs/index.php on line 41 Strict Standards: Non-static method Get::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 100 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/index.php on line 82 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/index.php on line 83 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/index.php on line 84 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/index.php on line 87 Warning: Cannot modify header information - headers already sent by (output started at /home/invenzzia/web/bugs/includes/constants.inc.php:29) in /home/invenzzia/web/bugs/index.php on line 88 Strict Standards: Non-static method Get::val() should not be called statically in /home/invenzzia/web/bugs/index.php on line 100 Strict Standards: Non-static method Get::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 100 Strict Standards: Non-static method Flyspray::requestDuplicated() should not be called statically in /home/invenzzia/web/bugs/index.php on line 109 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/index.php on line 148 Strict Standards: Non-static method Req::num() should not be called statically in /home/invenzzia/web/bugs/scripts/details.php on line 15 Strict Standards: Non-static method Req::val() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Req::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26 Strict Standards: Non-static method Filters::num() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 32 Strict Standards: Non-static method Flyspray::GetTaskDetails() should not be called statically in /home/invenzzia/web/bugs/scripts/details.php on line 17 Strict Standards: Non-static method Flyspray::GetAssignees() should not be called statically in /home/invenzzia/web/bugs/includes/class.flyspray.php on line 358 Strict Standards: Non-static method Get::val() should not be called statically in /home/invenzzia/web/bugs/scripts/details.php on line 34 Strict Standards: Non-static method Get::has() should not be called statically in /home/invenzzia/web/bugs/includes/class.gpc.php on line 100 Strict Standards: Non-static method Post::has() should not be called statically in /home/invenzzia/web/bugs/scripts/details.php on line 34 Strict Standards: Non-static method TextFormatter::render() should not be called statically in /home/invenzzia/web/bugs/scripts/details.php on line 128 Strict Standards: Non-static method Flyspray::listThemes() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php on line 35 Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 4 FS#58 : stripWhitespaces and whitespaces produces an invlaid XML output Strict Standards: Non-static method TextFormatter::get_javascript() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 41

Invenzzia »

Strict Standards: Non-static method Get::has() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 62 Strict Standards: Non-static method Get::has() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 62

IMPORTANT ANNOUNCEMENT

Due to the uncertain status of the Flyspray project, lack of new releases and moving the code repository to Github, we decided to shutdown this issue tracker by the end of January 2011. From that date, the bugs should be reported directly in Github project repositories.

List of repositories:

Strict Standards: Non-static method Req::val() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 101 Strict Standards: Non-static method Req::has() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.gpc.php on line 26
Strict Standards: Non-static method TextFormatter::render() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 103 Open Power Template 2.x family

PLEASE PROVIDE THE TEMPLATES AND/OR PHP CODE IN THE TASK DESCRIPTION (Not URL-s to them). THAT ALLOWS US TO REPRODUCE THE PROBLEM! OTHERWISE WE ARE NOT ABLE TO HELP YOU!

Remember to hide all the security-related pieces of code from the task description, like passwords, server paths etc. for your own safety. Once we close the task, we cannot edit it anymore!
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 7 Tasklist

FS# Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 15 58 - Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 15 stripWhitespaces and whitespaces produces an invlaid XML output

Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 19 Attached to Project: Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 20 Open Power Template
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 22 Opened by Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 281 Skruppy (Skrupellos) - Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 26 Strict Standards: Non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 613 Friday, 27 February 2009, 10:15 GMT-7
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 29 Last edited by Strict Standards: array_map() expects parameter 1 to be a valid callback, non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 281 Zyx (Zyx) - Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 30 Strict Standards: Non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 613 Saturday, 28 February 2009, 03:15 GMT-7
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 39 Task Type Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 40 Bug Report
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 43 Category Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 48 Compiler
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 52 Status Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 55 Closed
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 65 Assigned To Zyx (Zyx)
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 78 Operating System Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 79 OS-independent
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 82 Severity Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 83 Medium
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 86 Priority Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 87 High
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 90 Reported Version Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 91 2.0 SVN
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 94 Due in Version Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 99 Undecided
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 104 Due Date Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 106 Undecided
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 110 Percent Complete 
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 114
100%
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 118 Votes 0
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 143 Private Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 148 No

Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 188 Details

EXAMPLE:
In the following templates I use # instead of a blank character. This should be better to see. So if you try out the examples, replace the # with a blank character. Any other whitespace works
--- code ---
$tpl->stripWhitespaces = true;
--- END code ---

--- template ---
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<opt:root>
<div> </div>
</opt:root>
--- END template ---


RESULT:
--- output ---
<div></div></>
--- END output ---


EXPECTED:
--- output ---
<div>#</div>
--- END output ---

or
--- output ---
<div />
--- END output ---

Could you please explain what, and why, is the right output.
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 199 This task depends upon

Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 253 Closed by  Zyx (Zyx)
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 254 Strict Standards: Non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 613 Saturday, 28 February 2009, 03:15 GMT-7
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 255 Reason for closing:   Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 255 Fixed
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 257 Additional comments about closing:   Strict Standards: Non-static method TextFormatter::render() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 257 Fixed in rev. 60.
Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 9 Comment by Zyx (Zyx) - Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 10 Strict Standards: Non-static method Filters::noXSS() should not be called statically in /home/invenzzia/web/bugs/includes/class.tpl.php on line 613 Saturday, 28 February 2009, 03:15 GMT-7
Strict Standards: Non-static method TextFormatter::render() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 35 The stripWhitespaces implementation has been changed and now everything seems to work. The new algorithm keeps a single space between two nodes, if there was a whitespace CDATA content:

----
<div> </div>
----

Strict Standards: Non-static method Filters::noXSS() should not be called statically, assuming $this from incompatible context in /home/invenzzia/web/bugs/includes/class.tpl.php(120) : eval()'d code on line 2 Loading...