I am new to shopware, I am getting familiar with it following the lessons provided in the accademy.
At a certain point of the Entity lesson after creating the migration, a markup is added to the element (it should contain name and entity) and for some reasons when I add that to my code as well I am not able to access http://localhost:8000/admin anymore:
<service id="Tentingg\Core\Content\Tentingg\TentinggDefinition">
<tag name="shopware.entity.definition" entity="testing_plugin" />
<!--entity correspond with the name returned in the entity definition -->
</service>
if I remove the tag markup i can access /admin again, but if I write it back I will get the following error in the console:
*XHRGEThttp://localhost:8000/api/_info/entity-schema.json[HTTP/1.1 500 Internal Server Error 1525ms]*
*XHRGEThttp://localhost:8000/api/_info/open-api-schema.json[HTTP/1.1 500 Internal Server Error 1609ms]*
*Object { message: "Request failed with status code 500", name: "AxiosError", code: "ERR_BAD_RESPONSE", config: {…}, request: XMLHttpRequest, response: {…}, stack: "" }*
*[commons.js:1:95175](http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414)*
*Uncaught (in promise) TypeError: Shopware.Service(...) is undefined*
*pLPA http://localhost:8000/bundles/administration/static/js/app.js?16535857926696175:1*
*get http://localhost:8000/bundles/administration/static/js/vendors-node.js?16535857921632683:2*
*Ue http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*value http://localhost:8000/bundles/administration/static/js/app.js?16535857926696175:1*
*value http://localhost:8000/bundles/administration/static/js/app.js?16535857926696175:1*
*value http://localhost:8000/bundles/administration/static/js/app.js?16535857926696175:1*
*value http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*value http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*promise callback*value http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*value http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*value http://localhost:8000/bundles/administration/static/js/commons.js?1653585792226414:1*
*<anonymous> http://localhost:8000/admin#/sw/dashboard/index:39*
I would like to ask why are we adding those values in the xml file (I am not familiar with xml) and what could cause the error above mentioned that prevents me to access /admin in the browser.