Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 414276

Summary: Forum mails redirection link doesn't point to forum thread anymore, only to the forum web site
Product: Community Reporter: Joerg Reichert <joerg83reichert>
Component: Forums and NewsgroupsAssignee: Forums and Newsgroups inbox <forums-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Joerg Reichert CLA 2013-08-02 04:27:33 EDT
I subscribed to some Eclipse forums and was used to the behaviour that
the link within the sent mail redirects directly to the actual message.
Now it only redirects to the forum (like Xtext or Graphiti).

Example of sent links in emails:

To participate in the discussion, go here:
http://www.eclipse.org/forums/index.php?t=rview&frm_id=187

or

To participate in the discussion, go here:
http://www.eclipse.org/forums/index.php?t=rview&frm_id=27
Comment 1 Denis Roy CLA 2013-08-02 09:53:43 EDT
It appears you're viewing the text/plain version of the email.  It is multi-part encoded with text/plain and text/html.  The html version has links directly to the posts, and reply.

I'm not sure why those same links are not in the text/plain version, though.
Comment 2 Joerg Reichert CLA 2013-08-08 14:42:16 EDT
Yes I am viewing the text/plain version in Thunderbird. If I switch to the Original HTML view, the link works, as you described:

Example: 

Link from HTML
http://www.eclipse.org/forums/index.php?t=rview&goto=1082244#msg_1082244

Link from plain/text
http://www.eclipse.org/forums/index.php?t=rview&frm_id=187

The complete HTML source:

X-Mailer: FUDforum v3.0.2
MIME-Version: 1.0
List-Id: 187.www.eclipse.org
Content-Type: multipart/alternative;
  boundary="------------214059755641364421715579005101662517009"
Message-Id: <20130808093726.7A8788A65A@www-vm3.eclipse.org>
Date: Thu,  8 Aug 2013 05:37:26 -0400 (EDT)


--------------214059755641364421715579005101662517009
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Hello

I am working on a Graphiti editor and could use some help.=20

In my Editor I can add elements, called Activities. I have a domain objec=
t, an add feature and a create feature for it. There should be many diffe=
rent types of Activities, differentiated by certain attributes of the bus=
iness object. The available types should not be hardcoded within the edit=
or, because they are constantly changing. Therefore my editor reads the a=
vailable types from a xml file and puts them into an arraylist. I want al=
l the available types from this list to appear in the pallette of the edi=
tor. From there it should be possible to create the Activities with the s=
pecial attributes from the specified type.=20

The porblem is: Because the number of types of Activities is not determin=
ate, I can't make a create feature for every type. So I only have one cre=
ate feature for Activities. My first thought was to create an instance of=
 my Activity create feature for every type of Activity, add the attribute=
s of the type to it and add those create features to the getCreateFeature=
s() method of the feature provider. It looks something like this:

public ICreateFeature[] getCreateFeatures() {

ActivityReader ar =3D new ActivityReader();

		List <ActivityDescriptor> act =3D  ar.readActivities();
=09
	=09
	=09
		List <ICreateFeature> list =3D new ArrayList <ICreateFeature>();
for (int j =3D 0; j<k; j++){
					=09
		=09
			CreateActivityFeature caf =3D new CreateActivityFeature(this);
			caf.setDescriptorID(act.get(j).getId());
			caf.setCreateName(act.get(j).getName());
			caf.setDescription(act.get(j).getDescription());
		=09
			=09
			list.add(caf);
ICreateFeature[] cf =3D  list.toArray((new ICreateFeature[list.size()]));
	=09
		return cf;
}=20

The list "act" is the list of Activity types. In the loop the create feat=
ures are created and the attributes of the type are set.

In the tool behavior provider I then add a Palette Compartment and add al=
l the Activity create features to it:

PaletteCompartmentEntry compartmentEntry3 =3D
				new PaletteCompartmentEntry("Activities", null);
		ret.add(compartmentEntry3);

ICreateFeature[] createActivityFeatures =3D featureProvider.getCreateFeat=
ures();
		for (ICreateFeature cf : createActivityFeatures) {
			if (cf instanceof CreateActivityFeature){
						ObjectCreationToolEntry objectCreationToolEntry =3D=20
					new ObjectCreationToolEntry(cf.getCreateName(),
							cf.getCreateDescription(), cf.getCreateImageId(),
							cf.getCreateLargeImageId(), cf);
			compartmentEntry3.addToolEntry(objectCreationToolEntry);
		=09


The result of that is, that the different Activities are displayed in the=
 pallete, but when I create one, no matter which one I take, the attribut=
es of the business object are always the same.=20
It seems, that when I create an Activity, only the last create feature I =
added to the getCreateFeatures() method is used.=20

So my question is: Is there I way of using one create method for differen=
t elements and if there is, how could I use it for my case? If this is no=
t possible, I would be very happy about any suggestions, how I could add =
my Activities to the pallette in a different way.

I hope its somewhat clear, what I need. Any help would be very appreciate=
d.
Thank you.

To participate in the discussion, go here: http://www.eclipse.org/forums/=
index.php?t=3Drview&frm_id=3D187

--------------214059755641364421715579005101662517009
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://ww=
w.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en" xml:lang=3D"en">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" =
/>
<title>Eclipse Community Forums</title>
<base href=3D"http://www.eclipse.org/forums/" />


<link rel=3D"stylesheet" href=3D"theme/EclipseTheme/forum.css" type=3D"te=
xt/css" media=3D"screen" title=3D"Default FUDforum Theme" />
</head>
<body>
<table width=3D"100%" border=3D"0" cellspacing=3D"3" cellpadding=3D"5"><t=
r><td class=3D"ForumBackground">
<table cellspacing=3D"1" cellpadding=3D"2" class=3D"ContentTable">
<tr class=3D"RowStyleB">
	<td width=3D"33%"><b>Subject:</b> Use one create feature for different e=
lements</td>
	<td width=3D"33%"><b>Author:</b> Thomas Thonhofer</td>
	<td width=3D"33%"><b>Date:</b> Thu, 08 August 2013 05:37</td>
</tr>
<tr class=3D"RowStyleA">
	<td colspan=3D"3">
=09
	Hello<br />
<br />
I am working on a Graphiti editor and could use some help. <br />
<br />
In my Editor I can add elements, called Activities. I have a domain objec=
t, an add feature and a create feature for it. There should be many diffe=
rent types of Activities, differentiated by certain attributes of the bus=
iness object. The available types should not be hardcoded within the edit=
or, because they are constantly changing. Therefore my editor reads the a=
vailable types from a xml file and puts them into an arraylist. I want al=
l the available types from this list to appear in the pallette of the edi=
tor. From there it should be possible to create the Activities with the s=
pecial attributes from the specified type. <br />
<br />
The porblem is: Because the number of types of Activities is not determin=
ate, I can't make a create feature for every type. So I only have one cre=
ate feature for Activities. My first thought was to create an instance of=
 my Activity create feature for every type of Activity, add the attribute=
s of the type to it and add those create features to the getCreateFeature=
s() method of the feature provider. It looks something like this:<br />
<br />
<div class=3D"pre"><pre>public ICreateFeature[] getCreateFeatures() {

ActivityReader ar =3D new ActivityReader();

		List &lt;ActivityDescriptor&gt; act =3D  ar.readActivities();
=09
	=09
	=09
		List &lt;ICreateFeature&gt; list =3D new ArrayList &lt;ICreateFeature&g=
t;();
for (int j =3D 0; j&lt;k; j++){
					=09
		=09
			CreateActivityFeature caf =3D new CreateActivityFeature(this);
			caf.setDescriptorID(act.get(j).getId());
			caf.setCreateName(act.get(j).getName());
			caf.setDescription(act.get(j).getDescription());
		=09
			=09
			list.add(caf);
ICreateFeature[] cf =3D  list.toArray((new ICreateFeature[list.size()]));
	=09
		return cf;
}</pre></div> <br />
<br />
The list &quot;act&quot; is the list of Activity types. In the loop the c=
reate features are created and the attributes of the type are set.<br />
<br />
In the tool behavior provider I then add a Palette Compartment and add al=
l the Activity create features to it:<br />
<br />
<div class=3D"pre"><pre>PaletteCompartmentEntry compartmentEntry3 =3D
				new PaletteCompartmentEntry(&quot;Activities&quot;, null);
		ret.add(compartmentEntry3);

ICreateFeature[] createActivityFeatures =3D featureProvider.getCreateFeat=
ures();
		for (ICreateFeature cf : createActivityFeatures) {
			if (cf instanceof CreateActivityFeature){
						ObjectCreationToolEntry objectCreationToolEntry =3D=20
					new ObjectCreationToolEntry(cf.getCreateName(),
							cf.getCreateDescription(), cf.getCreateImageId(),
							cf.getCreateLargeImageId(), cf);
			compartmentEntry3.addToolEntry(objectCreationToolEntry);
			</pre></div><br />
<br />
<br />
The result of that is, that the different Activities are displayed in the=
 pallete, but when I create one, no matter which one I take, the attribut=
es of the business object are always the same. <br />
It seems, that when I create an Activity, only the last create feature I =
added to the getCreateFeatures() method is used. <br />
<br />
So my question is: Is there I way of using one create method for differen=
t elements and if there is, how could I use it for my case? If this is no=
t possible, I would be very happy about any suggestions, how I could add =
my Activities to the pallette in a different way.<br />
<br />
I hope its somewhat clear, what I need. Any help would be very appreciate=
d.<br />
Thank you.
=09
	</td>
</tr>
<tr class=3D"RowStyleB">
	<td colspan=3D"3">
	[ <a href=3D"index.php?t=3Dpost&reply_to=3D1082244">Reply</a> ][ <a href=
=3D"index.php?t=3Dpost&reply_to=3D1082244&quote=3Dtrue">Quote</a> ][ <a h=
ref=3D"index.php?t=3Drview&goto=3D1082244#msg_1082244">View Topic/Message=
</a> ][ <a href=3D"index.php?t=3Drview&frm_id=3D187">Unsubscribe from thi=
s forum</a> ]
	</td>
</tr>
</table>
</td></tr></table></body></html>

--------------214059755641364421715579005101662517009--




(In reply to comment #1)
> It appears you're viewing the text/plain version of the email.  It is
> multi-part encoded with text/plain and text/html.  The html version has
> links directly to the posts, and reply.
> 
> I'm not sure why those same links are not in the text/plain version, though.
Comment 3 Eclipse Genie CLA 2015-07-30 13:07:14 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Eclipse Genie CLA 2017-07-20 12:43:17 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 5 Eclipse Genie CLA 2019-07-12 04:16:27 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Eclipse Genie CLA 2021-08-30 13:16:11 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 7 Denis Roy CLA 2021-12-20 15:15:58 EST
We won't be investing any resources into this aspect of our infra, as it is either deprecated, or it will be soon.

We encourage projects to migrate to GitHub or Eclipse GitLab (https://gitlab.eclipse.org).

Please see: Eclipse Foundation service cleanup superbug
https://bugs.eclipse.org/bugs/show_bug.cgi?id=577150