ASIN value not being passed to database
lacitpo - September 24, 2007 - 03:52
| Project: | ASIN Field |
| Version: | 5.x-1.4 |
| Component: | User interface |
| Category: | bug report |
| Priority: | critical |
| Assigned: | lacitpo |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
Upon previewing a node with an ASIN field added, everything works correctly.
However, anytime I save a node, the value seems to disappear. After saving, book info is not displayed in the node and after going in to edit the node, the field is blank.

#1
I am having this same issue.
#2
I ran into this as well, the problem is not this modules fault.
The issues occurs when you give the field a label longer than 11 chars long, as the amazonnode table has a max of 16 chars for its ntype.
Work around
Simply call your fields something short e.g. amazon - you may want to truncate your amazonnode table too, as its probably full of dupes by now.
Longer term fix
Talk with the guys from amazon tools and increase the size of that filed.
- Drayen
#3
The problem is happening for me when I have both the "Allow Amazon.com related product link" enabled and an ASIN/ISBN field as part of the content type. If I use only one of them, everything works correctly. My field's name is only four characters, and I'm still seeing this behavior, so I doubt that's it.
I don't know anything about CCK, but it seems to me that this module is not saving all it's settings. It may be that it just doesn't need them. I don't know.
Since I don't need the "Allow Amazon.com related product link" functionality enabled, I'm not likely to pursue this issue very far. If it were to be a relatively simple thing to find, then I might have continued, but I've already invested a couple hours in tracking down what I have found. However, if someone were to add more information to help solve the puzzle, I might continue (no promises).