I need to deploy a series of datatypes to another environment. So I deployed the datatypes and then the datastore, and overwrote the original. Now the datatypes I needed are on the new datastore.But when I go on with the deployment sending the rest of the changes to my environment, the Data store entities constants related to the datatypes I recently sent to my other environment give me the following error: UnresolvedDataStoreEntityException: entity [...] in data store [id=... uuid=...] cannot be found.help, please!
Discussion posts and replies are publicly visible
Just need to be clear on exactly what you are doing. Are you deploying from environment one to environment two? Let's call it ENV1 and ENV2. Is there a third environment involved or something else like an export package you've been provided?
When you say that you "need to deploy a series of datatypes to another environment" do you mean you are deploying these from ENV1 to ENV2?
When you say that you "go on with the deployment sending the rest of the changes to my environment" are these also going from ENV1 to ENV2?
Is it possible that the datastore is not mapped to the data source?
Simply open the Data Store in the target env and map it to the appropriate datasource and publish.
I would suggest that you name the data sources the same in all your environments.
hi maximoferarenas Did you verify the datastore in the other environment where you deployed? Did it validate or throw any errors? If there are any validations, try mapping those and re-verifying them before publishing.
There are only two environments involved.Answering the rest of your questions: yes, that is what is happening.
So the data store entities constants in ENV1 are working fine but when you deploy to ENV2 you get the error? Did Mathieu Drouin 's suggestion below help at all?
As a test, if you create a brand new isolated constant that points to the new datastore/entity in ENV1 and deploy only that one object into ENV2 does it also have the same error?