Opened 13 years ago
Closed 12 years ago
#20015 closed Bug (fixed)
test_lookup_date_as_str fails under Oracle
| Reported by: | Aymeric Augustin | Owned by: | Shai Berger |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Release blocker | Keywords: | |
| Cc: | Florian Apolloner, shai@… | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Change History (5)
comment:1 by , 13 years ago
| Cc: | added |
|---|
comment:2 by , 12 years ago
| Cc: | added |
|---|
comment:3 by , 12 years ago
comment:4 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:5 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Reference to anybody working on this: the user code is
and the generated query is
... WHERE "SHARED_MODELS_BOOK"."PUBDATE" LIKE TRANSLATE(TO_TIMESTAMP(:arg0, 'YYYY-MM-DD HH24:MI:SS.FF') USING NCHAR_CS) ESCAPE TRANSLATE('\' USING NCHAR_CS)That is, where the user code expects dates to be translated to strings, the backend tries to translate the string to a date in the middle of all the string translation operations.