Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 96001 Details for
Bug 227030
Project info bugzilla_url() fails when Bugzilla url in Meta Data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
project-info.class.php patch
project-info-class.txt (text/plain), 2.06 KB, created by
Eclipse Webmaster
on 2008-04-14 16:57:56 EDT
(
hide
)
Description:
project-info.class.php patch
Filename:
MIME Type:
Creator:
Eclipse Webmaster
Created:
2008-04-14 16:57:56 EDT
Size:
2.06 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P projects >Index: common/project-info.class.php >=================================================================== >RCS file: /home/data/cvs/org.eclipse/www/projects/common/project-info.class.php,v >retrieving revision 1.88 >diff -u -r1.88 project-info.class.php >--- common/project-info.class.php 5 Feb 2008 04:17:10 -0000 1.88 >+++ common/project-info.class.php 14 Apr 2008 20:41:16 -0000 >@@ -64,10 +66,19 @@ > return ''; > } > function bugzilla_url() { >- if( $this->info->bugzilla->productname ) >- return "https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=" . $this->info->bugzilla->productname . "&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0="; >- else >- return ""; >+ $x = $this->info->bugzillas; >+ if( !$x ) return ""; >+ if( count($x) > 0 ) $x = $x[0]; >+ if($x->url ) >+ return $x->url; >+ else { >+ if ( $x->productname ) >+ return "https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced&short_desc_type=allwordssubstr&short_desc=&product=" . $x->productname . "&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0="; >+ else >+ return ""; >+ >+ } >+ > } > > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227030
: 96001