[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/www/tracker tracker.php,1.4,1.5
From: |
tperdue |
Subject: |
[Gforge-commits] gforge/www/tracker tracker.php,1.4,1.5 |
Date: |
Sat, 30 Oct 2004 23:01:05 -0500 |
Update of /cvsroot/gforge/gforge/www/tracker
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/tracker
Modified Files:
tracker.php
Log Message:
fixing tracker issue in mod-limited.php for submitter of artifact
Index: tracker.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/tracker/tracker.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- tracker.php 7 Oct 2004 19:30:50 -0000 1.4
+++ tracker.php 31 Oct 2004 04:01:01 -0000 1.5
@@ -133,7 +133,7 @@
} else if ($ah->isError()) {
exit_error('ERROR',$ah->getErrorMessage());
} else {
- if (!$ath->userIsAdmin() && $ath->userIsTechnician()) {
+ if ((!$ath->userIsAdmin() && $ath->userIsTechnician())
|| (session_loggedin() && ($ah->getSubmittedBy() == user_getid()))) {
// && !(session_loggedin() &&
($ah->getSubmittedBy() == user_getid()))
// && (session_loggedin() && ($ah->getAssignedTo()
== user_getid()))) {
$priority=$ah->getPriority();
@@ -145,6 +145,8 @@
$add_file=false;
$delete_file=false;
}
+//echo "$priority|$status_id|$category_id|$artifact_group_id|$resolution_id|
+//
$assigned_to|$summary|$canned_response|$details|$new_artfact_type_id";
if
(!$ah->update($priority,$status_id,$category_id,$artifact_group_id,$resolution_id,
$assigned_to,$summary,$canned_response,$details,$new_artfact_type_id,$extra_fields))
{
$feedback
=$Language->getText('tracker','tracker_item'). ': '.$ah->getErrorMessage();
@@ -230,7 +232,8 @@
$ah=new ArtifactHtml($ath,$artifact_id);
if (!$ah || !is_object($ah)) {
exit_error('ERROR','Artifact Could Not Be Created');
- } else if ($ah->isError()) {
exit_error('ERROR',$ah->getErrorMessage());
+ } else if ($ah->isError()) {
+ exit_error('ERROR',$ah->getErrorMessage());
} else {
$ah->setMonitor();
$feedback=$ah->getErrorMessage();
@@ -258,7 +261,8 @@
//
$ah=new ArtifactHtml($ath,$aid);
if (!$ah || !is_object($ah)) {
- exit_error('ERROR','Artifact Could Not Be Created');
} else if ($ah->isError()) {
+ exit_error('ERROR','Artifact Could Not Be Created');
+ } else if ($ah->isError()) {
exit_error('ERROR',$ah->getErrorMessage());
} else {
if ($ath->userIsAdmin()) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/www/tracker tracker.php,1.4,1.5,
tperdue <=
- Prev by Date:
[Gforge-commits] gforge-plugin-ldapextauth/include LdapExtAuthPlugin.class, 1.3, 1.4
- Next by Date:
[Gforge-commits] gforge/deb-specific install-exim4.sh, 1.4, 1.5 install-db.sh, 1.33, 1.34 db-upgrade.pl, 1.64, 1.65
- Previous by thread:
[Gforge-commits] gforge-plugin-ldapextauth/include LdapExtAuthPlugin.class, 1.3, 1.4
- Next by thread:
[Gforge-commits] gforge/deb-specific install-exim4.sh, 1.4, 1.5 install-db.sh, 1.33, 1.34 db-upgrade.pl, 1.64, 1.65
- Index(es):