Closed (fixed)
Project:
Popups: Add and Reference
Version:
6.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Feb 2009 at 05:23 UTC
Updated:
20 Mar 2009 at 05:30 UTC
Example:
- Add referenced node in the popup named "aa bb"
- node is created successfully
- BUT, in the reference field, which is an autocomplete box it says "aa+bb" thus when you click submit it will give an error.
So, a user has to then delete the text that is automatically in the box and retype it to get the correct node to be referenced.
For the Popups API, I used 6.x-1.2-alpha1
Comments
Comment #1
starbow commentedI am unable to replicate this issue.
What browser are you using?
Comment #2
OneTwoTait commentedFirefox 3
Comment #3
starbow commentedWeird, that is the same one I am using.
Comment #4
OneTwoTait commentedNote that when I installed Popups API 6.x-2.x-dev, nothing showed up in the autocomplete box after submitting a node. It can still be found but it just wasn't filled in there automatically.
Comment #5
starbow commentedThat is the expected behavior for 6.x-2.x.
Comment #6
iko commentedHi,
Same issue for me (Drupal 6.10, PAR module version 6.x-1.0-rc1, Firefox3) ; custom characters and punctuation marks do not correctly appear in the nodereference field (the node is actually created) :
- Amp%C3%A8re%2C+Jean-Jacques instead of Ampère, Jean-Jaques
...
Comment #7
e2thex commentedI am getting the same behavior
Comment #8
starbow commentedCan the people having this problem tell me what version of PHP they are using?
This might be a setrawcookie issue.
Comment #9
OneTwoTait commentedI was using PHP 4. We recently copied the installation to a server with php 5.2.8. I used Popups API 6.x-1.2-alpha2 and the result is the same - the incorrect "+"s are still there.
Comment #10
starbow commentedJust for the heck of it, can you replace lin 41 of popups_reference.js, which is now this:
with this:
And let me know what you get out?
Comment #11
iko commentedHello
I'm using PHP 5.2.8 (localhost)
I added the
in popups_reference.js (line 41 was already :
var title = popups_reference_get_cookie_value('PopupRefTitle');) : it seems to be OK :- the node is created (with plenty of custom characters as we have in french :-)
- the nodereference field is not automatically filled
- the node title is correctly displayed among the autocomplete suggestions
- the field can be filled, no problem
bravo !
Comment #12
starbow commentedOk, everyone having this issue, please upgrade to RC2.
Comment #13
OneTwoTait commentedUpgraded to RC2 and downgraded Popups API to 1.2-Alpha3... Now the popup won't load. It just says "loading" indefinitely.
Comment #14
starbow commentedHmm, haven't had a change to test with alpha3 yet.
Why don't you try 1.2.alpha1.
Comment #15
starbow commentedI have rebranded Popups API 1.2-Alpha1 as 1.2, which should be compatible with Popups A&R RC2.
Comment #16
OneTwoTait commentedGood. Works now :)
Comment #17
starbow commentedYay!