-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Release objects cause errors in pull command #1014
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hi Dane1986, Im doing a |
What does the generated package.xml and pulled metadata look like for the pull request? You can inspect it more easily if you set the |
The problem occurs when you have a full org git repo, the new standard objects are not in de objects folder which is sort of a logical issue. But after retrieving the new standard objects to the repo and redeploying them to the sandbox (somehow the listviews that are retrieved are then "Created" again, which is strange because I retrieved them from that sandbox) I still get the Listview error for the "MyRecent...." listviews for those objects. I changed the opening post to add the step of creating a full org project. When the object is in the project and I do a pull, then I still get these errors: |
Does it happen on anything besides these WorkPlan* objects? And also, I second Steve's question about what's happening in the package.xml (via the temp dir) |
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
I will try to do the analyses on SFDX_MDAPI_TEMP_DIR today. @mshanemc We had this before with ShiftTemplate objects. We work with a developer sandbox for each feature and my guess is that this does happen when we create a new sandbox from production (which doesn't have these objects yet) and Salesforce then "installs" the new features in the creation process. The new stuff is then not properly flagged as created in changes. It is not seen as a new object/listview, but sfdx gives an error. |
This issue has been automatically closed because there has been no response to our request for more information from the original author. Currently, there is not enough information provided for us to take action. Please reply and reopen this issue if you need additional assistance. |
For anyone interested, this seems to be a metadata-API feature with "pre-installed" listviews that are localised (change user language => listview name changes too). |
Summary
It's not possible to do a pull from a developer sandbox after the new release is installed, errors show Listview not found for several new standard objects. For example Work Plan. This happens with every new release. Workaround can be adding these objects to the force ignore file but that for me is not a workaround. When there is a new object, sfdx should recognize the whole object as new and should pull accordingly.
Steps To Reproduce:
Expected result
Pull with or without changes.
Actual result
The following error occurs:
ERROR running force:source:pull: Source conflict(s) detected.
ERROR running force:source:pull: Entity of type 'ListView' named 'WorkPlanTemplate.My_WorkPlanTemplates' cannot be found
Entity of type 'ListView' named 'WorkPlanSelectionRule.My_WorkPlanSelectionRules' cannot be found
Entity of type 'ListView' named 'WorkPlan.All_WorkPlans' cannot be found
Entity of type 'ListView' named 'WorkPlan.My_WorkPlans' cannot be found
Entity of type 'ListView' named 'WorkStepTemplate.My_WorkStepTemplates' cannot be found
Entity of type 'ListView' named 'WorkPlan.My_RecentWorkPlans' cannot be found
Entity of type 'ListView' named 'WorkPlanSelectionRule.My_RecentWorkPlanSelectionRules' cannot be found
Entity of type 'ListView' named 'WorkPlanTemplate.My_RecentWorkPlanTemplates' cannot be found
Entity of type 'ListView' named 'WorkStepTemplate.My_RecentWorkStepTemplates' cannot be found
Entity of type 'ListView' named 'WorkPlanTemplate.All_WorkPlanTemplates' cannot be found
Entity of type 'ListView' named 'WorkStepTemplate.All_WorkStepTemplates' cannot be found
Additional information
SFDX CLI Version(to find the version of the CLI engine run sfdx --version): 7.101.0-5e36989
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core): 50.12.0
OS and version: Windows 10 latest updates
The text was updated successfully, but these errors were encountered: