Comments (8)
@azmeehan Nice to meet you -- can you please provide the exact command invocation that's causing you the problem?
from pestle.
Likewise @astorm, great to meet you also. The command Ive been running is: pestle magento2:generate:ui:form then following the CLI prompts.
from pestle.
@azmeehan What values do you enter into the prompts that reproduces the behavior?
from pestle.
@astorm,
Which Module? (Pulsestorm_Formexample)] Azmeehan_Cin7update
Model Class? (Pulsestorm\Formexample\Model\Thing)] Azmeehan\Cin7update\Model\Config
ACL Rule for Controllers? (Pulsestorm_Formexample::ruleName)] Azmeehan_Cin7update::cin7
from pestle.
Thank you @azmeehan -- I ran a quick test with your module names/examples and everything seemed to be working correctly.
What problem is the missing <body/>
tag causing you? Does it not work in a particular version of Magento? (what version?) Or does is cause some other problem?
from pestle.
So the layout files you generated had <body>
nodes? Its not a showstopper, Schema validation fails in IDE (phpStorm) without <body>
nodes.
Im using bin/magento dev:urn-catalog:generate .idea/misc.xml
to generate mappings in the IDE, possibly something up there thats causing this.
from pestle.
Ah, I understand now. You opened this bug because an IDE reported a schema error. Let us know what you find out. As far we know the generated file does conform to the schema that's linked in itself -- if it didn't M2 would reject the file. M2 has two forms of layout update XML files -- one has a body tag, and the other doesn't. If you find information that indicates the later is no longer supported or in use let us know what the right structure and schema for this file is and we'll see what we can do about changing it.
Thanks for caring enough to open an issue, even if we ended up not taking action it's still nice to see :)
We're going to close this out for now, but feel free to open a new issue or keep this conversation going if we need to reopen.
from pestle.
@astorm thanks man, Ill put more detail in issues in future. Thanks for putting together pestle and your M2 docs as well, really helps mere mortals like myself understand Magento better ; )
from pestle.
Related Issues (20)
- Isolate bootstrap code 100%.
- What does a local composer module look like? HOT 1
- Centralize Creation of Base Folder for Generation
- Create and Register a Local Composer Module
- Generate Code in New Path
- Can't Resolve Const
- Test and Document Composer Package Feature
- Where does etc folder belong in a "different folder" based module
- Pestle modules are having security key/form issues in Magento 2.3 HOT 4
- Generating files causing error. Magento 2.3.3 HOT 11
- Could not run pestle commands HOT 5
- failed to open stream: phar error: invalid url or non-existent phar HOT 4
- Initial Run is Failing HOT 1
- Parse error on every commands HOT 3
- Renable phpcs HOT 1
- First Run can be Slow
- db_schema.xml HOT 1
- No such function [inputFromArray] when magento2:generate:schema-add-column HOT 4
- Could not find base Magento directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pestle.