SiT! Bugs - SiT!
View Issue Details
0001418SiT!portalpublic2010-11-12 17:312013-02-03 15:43
brandao 
 
normalminoralways
confirmedopen 
LinuxLinux2.6+later
3.62 LTS 
 
0001418: Portal users don't see "Solution" and "Problem definition" on closed incidents
Portal users when log on Sit don't see fields "Solution" and "Problem definition" on closed incidents
No tags attached.
Issue History
2010-11-12 17:31brandaoNew Issue
2010-11-20 13:54paulhNote Added: 0003467
2010-11-20 13:54paulhStatusnew => feedback
2012-11-05 16:45paulvhNote Added: 0004583
2012-11-05 16:48paulvhNote Added: 0004584
2013-02-03 15:43ivanNote Added: 0004683
2013-02-03 15:43ivanStatusfeedback => confirmed

Notes
(0003467)
paulh   
2010-11-20 13:54   
Hi,

I'm unable to reproduce this, did you untick the make updates visible in portal option ?
(0004583)
paulvh   
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   
2012-11-05 16:48   
Also applies to version 3.66 and 3.67
(0004683)
ivan   
2013-02-03 15:43   
Confirmed by paulh