[Doctrine] #1614: Migrations not running in the correct order on some filesystems

2 views
Skip to first unread message

Doctrine

unread,
Oct 26, 2008, 1:13:26 PM10/26/08
to doctri...@googlegroups.com
#1614: Migrations not running in the correct order on some filesystems
-----------------------------------+----------------------------------------
Reporter: donalmacanri | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: 1.1.0
Component: Attributes | Version: 1.1-DEV
Keywords: | Has_test: 0
Mystatus: Pending Core Response | Has_patch: 0
-----------------------------------+----------------------------------------
Migrations are not running in the correct order on some filesystems. I
think this is because the DirectoryIterator iterates through the files in
a directory in the order supplied by the operating system, and in the case
of filesystems such as ext3, they are not returned in alphabetical order.

php version: 5.2.4
doctrine version: 1.1

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1614>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper

Doctrine

unread,
Oct 26, 2008, 1:14:26 PM10/26/08
to doctri...@googlegroups.com
#1614: Migrations not running in the correct order on some filesystems
---------------------------+------------------------------------------------
Reporter: donalmacanri | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: 1.1.0
Component: Migrations | Version: 1.1-DEV
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
---------------------------+------------------------------------------------
Changes (by donalmacanri):

* component: Attributes => Migrations

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1614#comment:1>

Doctrine

unread,
Nov 25, 2008, 7:27:56 PM11/25/08
to doctri...@googlegroups.com
#1614: Migrations not running in the correct order on some filesystems
---------------------------+------------------------------------------------
Reporter: donalmacanri | Owner: jwage
Type: defect | Status: new
Priority: minor | Milestone: 1.1.0
Component: Migrations | Version: 1.1-DEV
Resolution: | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
---------------------------+------------------------------------------------
Old description:

> Migrations are not running in the correct order on some filesystems. I
> think this is because the DirectoryIterator iterates through the files in
> a directory in the order supplied by the operating system, and in the
> case of filesystems such as ext3, they are not returned in alphabetical
> order.
>
> php version: 5.2.4
> doctrine version: 1.1

New description:

Migrations are not running in the correct order on some filesystems. I
think this is because the DirectoryIterator iterates through the files in
a directory in the order supplied by the operating system, and in the case
of filesystems such as ext3, they are not returned in alphabetical order.

php version: 5.2.4
doctrine version: 1.1

Comment (by deefour):

Hi donalmacanri-

http://trac.doctrine-project.org/ticket/1688

I submitted a duplicate ticket, and provided a patch. I thought I'd post
to this ticket in case it is of use to you. Have a good day.

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1614#comment:2>

Doctrine

unread,
Dec 1, 2008, 6:00:04 PM12/1/08
to doctri...@googlegroups.com
#1614: Migrations not running in the correct order on some filesystems
---------------------------+------------------------------------------------
Reporter: donalmacanri | Owner: jwage
Type: defect | Status: closed
Priority: minor | Milestone: 1.1.0
Component: Migrations | Version: 1.1-DEV
Resolution: fixed | Keywords:
Has_test: 0 | Mystatus: Pending Core Response
Has_patch: 0 |
---------------------------+------------------------------------------------
Changes (by jwage):

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


Comment:

In r5228 this was fixed.

--
Ticket URL: <http://trac.doctrine-project.org/ticket/1614#comment:3>

Reply all
Reply to author
Forward
0 new messages