Hi -
I'm trying to trace down a peculiar problem.
I'm playing with the uploading of documents, and as you may know, there's a Sub Category option. I have one category in particular that, when a document is assigned to it, the bean fails to save that associated information - its blank.
There are several other Sub Categories in that list, which ahve been added via Dropdown Editor, and a quick spot check shows that they all work fine as well. Its just this one particular Sub Category which I can't seem to assign any documents to.
At first guess I thought I hit a field length limit, as the Item Name and Display Name are each exactly 32 characters long. After making a similar entry exactly 31 characters long, this data is still not saved. I went down the list, until I reached 24 characters, and it worked. It appears that there is a 24 character limit on this field.
Sure enough, in the database, I see 25 character varchars:
| category_id | varchar(25) | YES | MUL | NULL | |
| subcategory_id | varchar(25) | YES | | NULL | |
| status_id | varchar(25) | YES | | NULL | |
Has anyone else experienced this? How about a possible workaround? I'd like to say this is an easy fix by simply changing the database schema but based on past experiences I'm kind of scared to do this.
Thanks!
-dant


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks