Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in 2.1-stable - language typo in Migrations library #1936

Merged
merged 1 commit into from
Oct 29, 2012

Conversation

michaelbrooks
Copy link

This seems to have been fixed or made irrelevant in develop, but in 2.1-stable there is a bug in CI_Migration::latest().

lang and line are out of order, so when latest() is called and find_migrations() fails, there is a fatal PHP error.

lang and line were out of order
@AgentConundrum
Copy link

I doubt this will be accepted. I noticed this error myself the other day, but it's already been fixed in the develop branch. AFAIK, patches are only supposed to be sent to the develop branch.

@michaelbrooks
Copy link
Author

Yeah, I saw that changes are only supposed to be sent to develop. But then how do they do bug fixes in the stable branch?

@AgentConundrum
Copy link

A fair number of commits in the 2.1 branch mention backporting changes. I guess most of the time any new changes to the 2.1 line begin life either as changes made to 3.0, or that were raised as issues.

That said, I didn't think you necessarily needed to close the PR. I was simply mentioning that the developers were likely aware of the issue already. It seems like something that should have got pushed back, but realistically it's likely a rare edge case to try to run a migration without having first created at least one.

@narfbg
Copy link
Contributor

narfbg commented Oct 28, 2012

3.0 is very close to a release and for that reason, it's highly unlikely that a 2.1.4 release will ever happen.

This doesn't mean that this PR shouldn't be accepted of course and you didn't need to close it. But for the above reasons I doubt that it would make a difference.

@michaelbrooks
Copy link
Author

Oops, I actually didn't mean to close it.

I don't know whether I'll be upgrading to 3.0 in the near future (depends how different it is), and there must be others who will be using 2.1.x for a while yet.

@michaelbrooks michaelbrooks reopened this Oct 28, 2012
narfbg added a commit that referenced this pull request Oct 29, 2012
Bug in 2.1-stable - language typo in Migrations library
@narfbg narfbg merged commit 8485725 into bcit-ci:2.1-stable Oct 29, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants