Closed (fixed)
Project:
Gallery
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2005 at 15:02 UTC
Updated:
11 Jun 2006 at 00:16 UTC
In the drupal/gallery search the results given contain incorrect links.
?q=gallery&g2_itemId=157
all results get given links but there is a part in the url 'amp;' which is breaking them.
Any ideas?
Comments
Comment #1
kiz_0987 commentedThe search function works correctly on my installation. That form of url (g2_itemId=XXX) works fine for me. What happens exactly when you click on the formed link? Is this a public site that we can look at? Does the rest of your embedded G2 installation work correctly?
Comment #2
kos@lab.walkah.net_drupalgallery commentedYes everything else works correctly.
I dont know why its putting that string in the url.
Comment #3
tko commentedkizz,
I had pasted the incorrect link the search displays. I only realised now.
The link i posted is what SHOULD be the correct link, but my links look like the following:
?q=gallery&g2_itemId=XXX
I was referring to the 'amp;'
Obviously when I click on those links nothing opens.
Comment #4
tko commentedAlright i just realised whats happening, drupal.org is stripping the URL that im trying to post thats why the 'amp;' but I'm talking about is never showing up.
Should have used the preview function eh!
Anyway the link looks like: ?q=gallery&'amp;'g2_itemId=157
I had to put ' ' around it so that it wouldnt get stripped out.
Comment #5
kiz_0987 commentedSorry, but I do not know the answer to this. I took a quick look at the code and it looks like the URLGenerator function may be adding the extra
'&'into the URL. The code snippet is:Perhaps the G2 support forum may be able to help -- I suggest reposting there.
Comment #6
tko commentedPosted topic on G2 forums
http://gallery.menalto.com/node/38221
Comment #7
alexandreracine commentedIs this still an issue?
Comment #8
alexandreracine commentedNo news, closed.