SiT! Bugs

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001418SiT!portalpublic2010-11-12 17:312013-02-03 15:43
Reporterbrandao 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformLinuxOSLinuxOS Version2.6+later
Product Version3.62 LTS 
Target VersionFixed in Version 
Summary0001418: Portal users don't see "Solution" and "Problem definition" on closed incidents
DescriptionPortal users when log on Sit don't see fields "Solution" and "Problem definition" on closed incidents
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0003467)
paulh (administrator)
2010-11-20 13:54

Hi,

I'm unable to reproduce this, did you untick the make updates visible in portal option ?
(0004583)
paulvh (reporter)
2012-11-05 16:45

I have had the same problem. Did a clean install of 3.65 and setup basic information (customers, contracts etc)

Changed the following lines in the incidents_close.php file and it now shows up in the portal.

--- incident_close.php.orig 2012-11-05 16:37:42.119109806 +0000
+++ incident_close.php 2012-11-05 16:42:56.635629335 +0000
@@ -398,7 +398,7 @@ else
             {
                 // Final Solution
                 $sql = "INSERT INTO `{$dbUpdates}` (incidentid, userid, type, currentowner, currentstatus, bodytext, timestamp, customervisibility) ";
- $sql .= "VALUES ('$id', '$sit[2]', 'solution', '{$currentowner}', '{$currentstatus}', '$solution', '$now', 'hide')";
+ $sql .= "VALUES ('$id', '$sit[2]', 'solution', '{$currentowner}', '{$currentstatus}', '$solution', '$now', 'show')";
                 $result = mysql_query($sql);
                 if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error(), E_USER_ERROR);
             }
@@ -414,16 +414,16 @@ else
             if ($wait == 'yes')
             {
                 // Update - mark for closure
- $sql = "INSERT INTO `{$dbUpdates}` (incidentid, userid, type, currentowner, currentstatus, bodytext, timestamp) ";
- $sql .= "VALUES ('$id', '{$sit[2]}', 'closing', '{$currentowner}', '{$currentstatus}', '" . clean_lang_dbstring($_SESSION['syslang']['strMarkedforclosure']) ."', '$now')";
+ $sql = "INSERT INTO `{$dbUpdates}` (incidentid, userid, type, currentowner, currentstatus, bodytext, timestamp, customervisibility) ";
+ $sql .= "VALUES ('$id', '{$sit[2]}', 'closing', '{$currentowner}', '{$currentstatus}', '" . clean_lang_dbstring($_SESSION['syslang']['strMarkedforclosure']) ."', '$now', 'show')";
                 $result = mysql_query($sql);
                 if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error(), E_USER_ERROR);
             }
             else
             {
                 // Update - close immediately
- $sql = "INSERT INTO `{$dbUpdates}` (incidentid, userid, type, currentowner, currentstatus, bodytext, timestamp) ";
- $sql .= "VALUES ('$id', '{$sit[2]}', 'closing', '{$currentowner}', '{$currentstatus}', '" . clean_lang_dbstring($_SESSION['syslang']['strIncidentClosed']) . "', '$now')";
+ $sql = "INSERT INTO `{$dbUpdates}` (incidentid, userid, type, currentowner, currentstatus, bodytext, timestamp, customervisibility) ";
+ $sql .= "VALUES ('$id', '{$sit[2]}', 'closing', '{$currentowner}', '{$currentstatus}', '" . clean_lang_dbstring($_SESSION['syslang']['strIncidentClosed']) . "', '$now', 'show')";
                 $result = mysql_query($sql);
                 if (mysql_error()) trigger_error("MySQL Query Error ".mysql_error(), E_USER_ERROR);
             }
@@ -618,4 +618,4 @@ else
         include (APPLICATION_INCPATH . 'incident_html_bottom.inc.php');
     }
 }
-?>
\ No newline at end of file
+?>
(0004584)
paulvh (reporter)
2012-11-05 16:48

Also applies to version 3.66 and 3.67
User avatar (0004683)
ivan (administrator)
2013-02-03 15:43

Confirmed by paulh

- Issue History
Date Modified Username Field Change
2010-11-12 17:31 brandao New Issue
2010-11-20 13:54 paulh Note Added: 0003467
2010-11-20 13:54 paulh Status new => feedback
2012-11-05 16:45 paulvh Note Added: 0004583
2012-11-05 16:48 paulvh Note Added: 0004584
2013-02-03 15:43 ivan Note Added: 0004683
2013-02-03 15:43 ivan Status feedback => confirmed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker