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 fix for custom upgrade streams #854

Merged
merged 1 commit into from
Dec 9, 2013
Merged

Conversation

alpianon
Copy link
Contributor

line 199: in case of custom upgrade streams, variable $signature contains the last value from the foreach cycle at line 130, not the core schema signature!

line 209: if we do not insert schema signatures for each custom stream, after install osTicket thinks it needs an upgrade and gets stuck (see function isUpgradePending() in class.ticket)

line 199: in case of custom upgrade streams, variable $signature contains the last value from the foreach cycle at line 130, not the core schema signature!

line 209: if we do not insert schema signatures for each custom stream, after install osTicket thinks it needs an upgrade and gets stuck (see function isUpgradePending() in class.ticket)
@alpianon
Copy link
Contributor Author

I found this bug because I tried to create a custom stream for my osticket mod
With this patch it works
You can reproduce the bug by creating a dummy custom stream and including it in streams.cfg, and then trying to install osticket. Installation will seem ok, but when you try to login to /scp you get an error message that an upgrade is pending

@greezybacon
Copy link
Contributor

After reviewing it further, I feel that your implementation written as nicely as possible for 1.7. I'll deal with the merge conflict when porting it to 1.8 and implement it with the Config class as shown in my previous reply.

Thanks for posting this. Seriously.

greezybacon added a commit that referenced this pull request Dec 9, 2013
bug fix for custom upgrade streams

Reviewed-By: Jared Hancock <jared@osticket.com>
@greezybacon greezybacon merged commit d751f45 into osTicket:develop Dec 9, 2013
@alpianon alpianon deleted the patch-1 branch December 9, 2013 17:27
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.

None yet

2 participants