]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- fix omited status of new issue
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 5 Jan 2006 22:31:37 +0000 (22:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-new-issue.patch -> 1.1
    eventum.spec -> 1.140

eventum-new-issue.patch [new file with mode: 0644]
eventum.spec

diff --git a/eventum-new-issue.patch b/eventum-new-issue.patch
new file mode 100644 (file)
index 0000000..a575ab4
--- /dev/null
@@ -0,0 +1,34 @@
+--- ./include/class.issue.php  2005-12-30 19:48:40.000000000 +0200
++++ ./include/class.issue.phps 2006-01-03 23:53:27.000000000 +0200
+@@ -421,7 +421,7 @@
+             Reminder_Action::clearLastTriggered($issue_id);
+             // if old status was closed and new status is not, clear closed data from issue.
+-            if ($old_details['sta_is_closed'] == 1) {
++            if (@$old_details['sta_is_closed'] == 1) {
+                 $new_details = Status::getDetails($status_id);
+                 if ($new_details['sta_is_closed'] != 1) {
+                     Issue::clearClosed($issue_id);
+@@ -1349,7 +1349,6 @@
+                     $assignment_notifications[] = $assignee;
+                     $assignments_changed = true;
+                 }
+-                $assignments_changed = true;
+             }
+             if (count($assignment_notifications) > 0) {
+                 Notification::notifyNewAssignment($assignment_notifications, $issue_id);
+@@ -2047,14 +2046,6 @@
+                     }
+                 }
+             }
+-            if (count($users) > 0) {
+-                // automatically change the status to 'Assigned'
+-                Issue::setStatus($new_issue_id, Status::getStatusID('Assigned'), FALSE);
+-
+-                // set this special variable to false, to avoid triggering
+-                // another status update on the workflow class
+-                $has_assignee = false;
+-            }
+             // now process any files being uploaded
+             $found = 0;
index e11d34b52ad217f3acb6a9836f66d55e67306455..60d780bdbcc4c20f93135cd39fe7ea4476a8f4c7 100644 (file)
@@ -16,7 +16,7 @@
 # release candidate
 #define _rc            2
 
-%define        _rel    3
+%define        _rel    3.1
 
 %if 0%{?_rc:1}
 %define        _source http://eventum.mysql.org/eventum-1.7.0.tar.gz
@@ -70,6 +70,7 @@ Patch13:      http://glen.alkohol.ee/pld/%{name}-link_filter-updates.patch
 Patch14:       http://glen.alkohol.ee/pld/%{name}-irc-mem.patch
 Patch15:       eventum-reports-fix.patch
 Patch16:       http://glen.alkohol.ee/pld/eventum-recent_activity-usability.patch
+Patch17:       eventum-new-issue.patch
 URL:           http://dev.mysql.com/downloads/other/eventum/
 %{?with_pear:BuildRequires:    rpm-php-pearprov >= 4.0.2-98}
 BuildRequires: rpmbuild(macros) >= 1.223
@@ -495,6 +496,7 @@ rm -f rpc/xmlrpc_client.php
 %patch13 -p1
 %patch15 -p1
 %patch16 -p1
+%patch17 -p1
 
 sed -e '1s,#!.*/bin/php -q,#!%{_bindir}/php,' misc/cli/eventum > %{name}-cli
 sed -e '1i#!%{_bindir}/php' misc/scm/process_cvs_commits.php > %{name}-scm
This page took 0.052405 seconds and 4 git commands to generate.