-
Notifications
You must be signed in to change notification settings - Fork 351
Move AbstractLoader to Admin Bundle #7967
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
Move AbstractLoader to Admin Bundle #7967
Conversation
a32313d
to
7fd2453
Compare
@@ -572,6 +573,14 @@ Removed unused arguments: | |||
- `sulu_page.structure.properties_xml_parser`: `sulu_admin.properties_xml_parser` | |||
- `sulu_page.structure.schema_xml_parser`: `sulu_admin.schema_xml_parser` | |||
|
|||
### Moved files for 3.0 | |||
|
|||
- `src/Sulu/Component/Content/Metadata/Loader/schema/form-1.0.xsd` -> `src/Sulu/Bundle/AdminBundle/Resources/config/schema/form-1.0.xsd` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wachterjohannes maybe requires changes in the deployment for the schemas
e8fbe1a
to
626f035
Compare
626f035
to
7efc1b4
Compare
@@ -35,7 +35,7 @@ class StructureFormMetadataLoaderTest extends TestCase | |||
/** | |||
* @var string | |||
*/ | |||
public const CACHE_DIR = __DIR__ . '/../../../../../../../tests/Resources/cache'; | |||
public const CACHE_DIR = __DIR__ . '/../../../../../../../../tests/Resources/cache'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this class was moved and the path was not adopted which did end in creating a src/tests
directory instead of resources/cache dir.
44b404e
to
9746ce4
Compare
@@ -27,7 +27,7 @@ class XmlFormMetadataLoaderTest extends TestCase | |||
{ | |||
use ProphecyTrait; | |||
|
|||
public const CACHE_DIR = __DIR__ . '/../../../../../../../tests/Resources/cache'; | |||
public const CACHE_DIR = __DIR__ . '/../../../../../../../../tests/Resources/cache'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above class was previously moved without adjusting the path
What's in this PR?
Move AbstractLoader to Admin Bundle.
Why?
We should make the admin bundle not longer depending on something outside of it, one step forward to it.
The AbstractLoader is only used by the Form Loader (already inside Admin Bundle) and the Structure Loader (part of component class should be removed before 3.0 release).