Changes between Initial Version and Version 1 of Ticket #16645, comment 6
- Timestamp:
- Sep 4, 2011, 6:04:34 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16645, comment 6
initial v1 3 3 2011-08-28 15:36:35 <cramm> about the test failure with Oracle 11 related to a nullable filefield 4 4 2011-08-28 15:37:18 <cramm> I've been reviewing it. I don't feel comfortable with adapting the tests to workaround that 5 2011-08-28 15:38:37 <cramm> I k onw there is some recommendation in the charfield docs discouraging using null=True, but we have a handful of models with FileField's and ImageField with null=truin out tests, and they work correctly5 2011-08-28 15:38:37 <cramm> I know there is some recommendation in the charfield docs discouraging using null=True, but we have a handful of models containing FileField's and ImageField's with null=True in out tests, and they work correctly 6 6 2011-08-28 15:39:57 <cramm> ... and a bunch of models with other CharField-derived fields also with null=True. In some tests we even test for ORM behavior when confronted with the null=Tree 7 7 2011-08-28 15:40:42 <mYk> cramm: the problem here is that we test that an ImageField with no value has its name set to '' 8 2011-08-28 15:40:47 <cramm> So, I'd prefer to see first why things don't fail in 10g and fail in 11g8 2011-08-28 15:40:47 <cramm> So, I'd prefer to see first why things don't fail in Oracle 10g and fail in 11g 9 9 2011-08-28 15:41:03 <mYk> but since the field is nullable the result should be None 10 10 2011-08-28 15:41:47 <mYk> the docs don't say exactly how <file>.name is supposed to behave, but basically, it's the string stored in the db