Re: [Django] #34606: Right() function on Oracle and SQLite returns improper value when the length is zero.

6 views
Skip to first unread message

Django

unread,
May 30, 2023, 5:56:09 AM5/30/23
to django-...@googlegroups.com
#34606: Right() function on Oracle and SQLite returns improper value when the
length is zero.
-------------------------------------+-------------------------------------
Reporter: Kacper Wolkiewicz | Owner: Kacper
| Wolkiewicz
Type: Bug | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: oracle right substr | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Kacper Wolkiewicz):

* owner: nobody => Kacper Wolkiewicz
* status: new => assigned


Comment:

Sure, I can take it. To which version should I make a patch?

By the way greeting from MGA :)

--
Ticket URL: <https://code.djangoproject.com/ticket/34606#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 30, 2023, 7:18:27 AM5/30/23
to django-...@googlegroups.com
#34606: Right() function on Oracle and SQLite returns improper value when the
length is zero.
-------------------------------------+-------------------------------------
Reporter: Kacper Wolkiewicz | Owner: Kacper
| Wolkiewicz
Type: Bug | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: oracle right substr | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Kacper Wolkiewicz):

* has_patch: 0 => 1


Comment:

[Pull request: https://github.com/django/django/pull/16902 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34606#comment:3>

Django

unread,
May 31, 2023, 4:41:44 AM5/31/23
to django-...@googlegroups.com
#34606: Right() function on Oracle and SQLite returns improper value when the
length is zero.
-------------------------------------+-------------------------------------
Reporter: Kacper Wolkiewicz | Owner: Kacper
| Wolkiewicz
Type: Bug | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: oracle right substr | Triage Stage: Ready for
| checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34606#comment:4>

Django

unread,
May 31, 2023, 6:58:31 AM5/31/23
to django-...@googlegroups.com
#34606: Right() function on Oracle and SQLite returns improper value when the
length is zero.
-------------------------------------+-------------------------------------
Reporter: Kacper Wolkiewicz | Owner: Kacper
| Wolkiewicz
Type: Bug | Status: closed

Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: fixed

Keywords: oracle right substr | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"91be6e1818c3cb70890608491eea79e984f98ede" 91be6e1]:
{{{
#!CommitTicketReference repository=""
revision="91be6e1818c3cb70890608491eea79e984f98ede"
Fixed #34606 -- Fixed Right() function with zero length on Oracle and
SQLite.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34606#comment:5>

Reply all
Reply to author
Forward
0 new messages