SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001296SiT!incidentspublic2010-04-23 14:112014-03-02 16:56
Reporterwaynem 
Assigned Topaulh 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformWindowsOSWindowsOS VersionXP+Later
Product Version3.60 LTS 
Target VersionFixed in VersionCurrent SVN 
Summary0001296: new incident added, text in description has returns converted to \r\n
Descriptionwhen adding new incident, problems description containing returns, all returns are converted to "\r\n"
Steps To Reproduceadd incident,

make sure serveral lines of text are added, leave blank lines between a few of the lines
Additional Informationproblem is due to "cleanvar($text);" being called in function new_update
\lib\functions.inc.php' line 8096.

because cleanvar has already been called in \portal\add.php the second call converts returns to "\r\n"


eg.
    $text = cleanvar($text);

change to
    //$text = cleanvar($text);


TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0001922resolvedpaulh New incidents added from customer portal contain \r\n (unfixed bug 0001296 from v3.60) 

-  Notes
User avatar (0003364)
paulh (administrator)
2010-08-21 17:46

Can reproduce with latest SVN, steps

1) In customer portal create incident
2) View in portal you get "hello\r\n\r\nthis should\r\napparent\r\n\r\nincrease the number of lines"


when you view as a sit engineer all is fine
User avatar (0004915)
paulh (administrator)
2014-03-02 16:56

This was resolved in git over a year ago and now fixed in svn (r7595)

- Issue History
Date Modified Username Field Change
2010-04-23 14:11 waynem New Issue
2010-08-21 17:46 paulh Note Added: 0003364
2010-08-21 17:46 paulh Status new => confirmed
2014-03-02 16:43 paulh Relationship added has duplicate 0001922
2014-03-02 16:55 paulh Assigned To => paulh
2014-03-02 16:55 paulh Status confirmed => assigned
2014-03-02 16:56 paulh Note Added: 0004915
2014-03-02 16:56 paulh Resolution open => fixed
2014-03-02 16:56 paulh Fixed in Version => Current SVN
2014-03-02 16:56 paulh Description Updated View Revisions
2014-03-02 16:56 paulh Status assigned => resolved


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker