Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Avoid resolving view when retrieving the previous compiler #162

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

Closed
wants to merge 1 commit into from

Conversation

xel1045
Copy link
Contributor

@xel1045 xel1045 commented Jun 8, 2021

When registering htmlmin.compiler, the view class is resolved which is not supposed to happen in the register. This behaviour may breaks other plugins that except view to be registered later.

This PR use the callAfterResolving to retrieve the old compiler when view is resolved.

@xel1045 xel1045 force-pushed the fix-view-resolving branch from d44f70a to a800274 Compare June 8, 2021 01:10
@xel1045
Copy link
Contributor Author

xel1045 commented Jun 8, 2021

The same environments seems to be broken on the master branch: https://travis-ci.org/github/HTMLMin/Laravel-HTMLMin/builds/773310940

@u01jmg3
Copy link

u01jmg3 commented Feb 10, 2022

@srmklive: can we get this merged too? After a rebase, the tests should pass.

@srmklive srmklive closed this in b23349b Feb 10, 2022
@srmklive
Copy link
Contributor

Merged.

@rcerljenko
Copy link

hi @srmklive are you planning to release a new version with this fix?

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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.