Commit 56c7609
committed
Add FileUploader form element XSD definition
I'm not sure if the solution proposed in this commit is correct, but I
couldn't figure out any more logical way to deal with the validation
errors on the Travis CI build. The error follows:
1) Magento\Test\Integrity\Xml\SchemaTest::testXmlFiles Passed: 1881,
Failed: 6, Incomplete: 0, Skipped: 0. Data set:
/app/code/Magento/Catalog/view/adminhtml/ui_component/category_form.xml
Error validating
/home/travis/build/magento/magento2/app/code/Magento/Catalog/view/adminhtml/ui_component/category_form.xml
against urn:magento:module:Magento_Ui:etc/ui_configuration.xsd
Array (
[0] => Element 'fileUploader': This element is not expected. Expected is
one of ( hidden, file, input, date, boolean, checkbox, checkboxset,
email, select, multiselect ). Line: 168
[1] => Element 'wysiwyg',
attribute 'class': The attribute 'class' is not allowed. Line: 206
)
Failed asserting that an array is empty.
Element zero in that array is what I am attempting to fix here.1 parent b32a33a commit 56c7609
File tree
2 files changed
+14
-0
lines changed- app/code/Magento/Ui
- etc
- view/base/ui_component/etc/definition
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
26 | 39 | | |
27 | 40 | | |
28 | 41 | | |
| |||
0 commit comments