App FAQ: Entities got wiped out after App uninstall. Even if data shoud't be wiped. #3376
-
What kind of question do you have about the app system?General Setup Describe your question or feedbackHe, we wanted to publish our app and got the Following feedback:
After the uninstall we checked the database and alle entity-tables are gone.
<?xml version="1.0" encoding="utf-8" ?>
<entities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/platform/trunk/src/Core/System/CustomEntity/Xml/entity-1.0.xsd">
<entity name="custom_entity_webkon_collect_store">
<fields>
<bool name="active" store-api-aware="true"/>
<bool name="delivery" store-api-aware="true"/>
<string name="name" required="true" store-api-aware="true"/>
<text name="address" allow-html="true" store-api-aware="true"/>
<text name="description" allow-html="true" store-api-aware="true"/>
<string name="monday" store-api-aware="true"/>
<string name="tuesday" store-api-aware="true"/>
<string name="wednesday" store-api-aware="true"/>
<string name="thursday" store-api-aware="true"/>
<string name="friday" store-api-aware="true"/>
<string name="saturday" store-api-aware="true"/>
<string name="sunday" store-api-aware="true"/>
<string name="only" store-api-aware="true"/>
<string name="exclude" store-api-aware="true"/>
<int name="within" store-api-aware="true"/>
<int name="days" store-api-aware="true"/>
<string name="interval" store-api-aware="true"/>
<string name="payment" store-api-aware="true"/>
<string name="shippment" store-api-aware="true"/>
</fields>
</entity>
</entities>
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/shopware/platform/trunk/src/Core/Framework/App/Manifest/Schema/manifest-2.0.xsd">
<meta>
<name>webkonClickAndCollectApp</name>
<label>Click and Collect App</label>
<label lang="de-DE">Click und Collect App</label>
<description>Click and Collect App by web-kon Internetagentur</description>
<description lang="de-DE">Click und Collect App von web-kon Internetagentur</description>
<author>web-kon Internetagentur</author>
<copyright>(c) by web-kon Internetagentur</copyright>
<version>1.0.0</version>
<icon>Resources/config/plugin.png</icon>
<license>proprietary</license>
<privacyPolicyExtensions>.....</privacyPolicyExtensions>
<privacyPolicyExtensions lang="de-DE">.....</privacyPolicyExtensions>
</meta>
<cookies>
<group>
<snippet-name>cookie.groupRequired</snippet-name>
<entries>
.....
</entries>
</group>
</cookies>
<permissions>
<read>shipping_method</read>
<read>payment_method</read>
<read>product</read>
<read>order</read>
<read>customer</read>
<read>system_config</read>
<update>order</update>
</permissions>
<allowed-hosts>
<host>.....</host>
</allowed-hosts>
<setup>
<registrationUrl>.....</registrationUrl>
</setup>
<admin>
<main-module source="....." />
</admin>
<webhooks>
<webhook name="webkon-cuc-order" url="....." event="checkout.order.placed"/>
</webhooks>
<custom-fields>
<custom-field-set>.....</custom-field-set>
</custom-fields>
</manifest> |
Beta Was this translation helpful? Give feedback.
Answered by
mitelg
Oct 20, 2023
Replies: 1 comment
-
hey @DirkPersky thanks for bringing that up. we are already aware of this and here is the ticket, you might want to upvote: https://issues.shopware.com/issues/NEXT-26087 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
keulinho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey @DirkPersky
thanks for bringing that up. we are already aware of this and here is the ticket, you might want to upvote: https://issues.shopware.com/issues/NEXT-26087