Skip to content

Comments

[FIX] 1.2 - Plugin namespace aliasing#585

Merged
LukeTowers merged 1 commit intowip/1.2from
fix/1.2-plugin-namespace-aliasing
Jun 23, 2022
Merged

[FIX] 1.2 - Plugin namespace aliasing#585
LukeTowers merged 1 commit intowip/1.2from
fix/1.2-plugin-namespace-aliasing

Conversation

@jaxwilko
Copy link
Member

This PR adds a fix for a combination of issues added with the previous updates to the PluginManager that ensures that namespace aliasing for a replaced plugin which isn't installed occurs correctly.

The issue for this was that the replaced plugin was never added to the normalizeMap and therefore couldn't be converted into the proper Winter.Test style plugin ID, which lead to the namespace alias being registered as winter\test\ rather than Winter\Test.

@jaxwilko jaxwilko requested review from LukeTowers and mjauvin June 22, 2022 17:35
@LukeTowers LukeTowers merged commit 9e4e36b into wip/1.2 Jun 23, 2022
@LukeTowers LukeTowers deleted the fix/1.2-plugin-namespace-aliasing branch June 23, 2022 00:14
LukeTowers added a commit that referenced this pull request Jun 29, 2022
* wip/1.2: (21 commits)
  Added fix to ensure correct normalization and return (#588)
  Outputs time respecting backend preferences (#572)
  Bump minimum Laravel version to 9.1
  Fix site relative partial paths failing in 1.2 (#587)
  Switch back to using Laravel CacheServiceProvider
  Rebuild Snowboard agian
  Revert "Rebuild Snowboard"
  Rebuild Snowboard
  Allow a string selector for the form in a request
  Allow a string selector for the form in a request
  Use correct line breaks for Windows tests
  Backport ViewMaker tests from 1.2 branch
  Add additional testMakePartial cases to ViewMaker unit tests (#586)
  Added replaced plugins to the normalize map to ensure classloader namespace aliasing detects replacements (#585)
  Split tests into relevant module folders
  [FIX] Fix plugin flags not loading from cache correctly (#582)
  farsi spelling correction (#579)
  Moved plugin replacement namespace aliasing into register replacement method (#580)
  fix typo
  Add Winter 1.2 as version option in bug report
  ...
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.

2 participants