Issue Details (XML | Word | Printable)

Key: MARK-52
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Shannon Krebs
Reporter: Jeff Turner
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Confluence Social Bookmarking Plugin

Bookmarklet causes redirect to www.atlassian.com rather than original page

Created: 21/Jan/08 06:28 PM   Updated: 13/Mar/08 02:40 PM
Component/s: None
Affects Version/s: 1.0.7
Fix Version/s: 1.0.8

Time Tracking:
Not Specified

Issue Links:
Duplicate
 

Labels:


 Description  « Hide
The "Add bookmark" page has a link at the bottom to a "Bookmark in Confluence" bookmarklet, whose contents is:

javascript:javascript:var title='';var desc='';url=document.URL;if(document.getSelection){desc=document.getSelection();}else{if(window.getSelection){desc=window.getSelection();}else{if(document.selection){desc=document.selection.createRange().text;}}};title=encodeURIComponent(document.title);location.href='http://extranet.atlassian.com/plugins/socialbookmarking/updatebookmark.action?url='encodeURIComponent(url)'&title='title'&description='+encodeURIComponent(desc)

When I click this and bookmark a page, the bookmark apparently gets created, but I am then redirected to:

http://www.atlassian.com/atlassian-public-pom/confluence-plugin-base/socialbookmarking

which returns a 404. The plugin ought to be redirecting me to the bookmarked page.



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Jonathan Nolen added a comment - 21/Jan/08 07:46 PM
That's a really strange bug. And the place it's going (http://www.atlassian.com/atlassian-public-pom/confluence-plugin-base/socialbookmarking) is exceedingly odd. That's not even a real URL. Perhaps could this have been caused by maven2 filtering gone bad?

Shannon Krebs added a comment - 22/Jan/08 02:48 AM
Th "url" variable used to redirect back to the bookmarked page in atlassian-plugin.xml is being filtered by maven. I have checked in quick fix providing a variable with a different name to avoid the filtering.