Skip to content
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

error deploying big object indexes #1141

Closed
mshanemc opened this issue Aug 17, 2021 · 8 comments
Closed

error deploying big object indexes #1141

mshanemc opened this issue Aug 17, 2021 · 8 comments
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer

Comments

@mshanemc
Copy link
Contributor

opened a new issue on behalf of @SCWells72

I've seen this issue as well, and I've isolated it to an index on a BigObject, e.g., objects/MyBigObject/indexes/MyFieldIndex.indexe-meta.xml.

If I remove that from my package directory, the deployment goes fine; if I add it back, it fails with TypeError - Cannot read property 'id' of undefined.

@mshanemc mshanemc added investigating We're actively investigating this issue plugin-source labels Aug 17, 2021
@github-actions
Copy link

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.

@mshanemc mshanemc added the bug Issue or pull request that identifies or fixes a bug label Aug 17, 2021
@uip-robot-zz
Copy link

This issue has been linked to a new work item: W-9771788

@WillieRuemmele
Copy link
Member

#1112 (comment)

@WillieRuemmele
Copy link
Member

Hi @SCWells72 this should be fixed in the latest-rc build of the cli 1.115.0, you can get it by either sfdx update stable-rc or npm install sfdx-cli@latest-rc --global depending on your preferred install method.

Please let us know if you're still seeing this in 1.115.0 of the CLI

@WillieRuemmele WillieRuemmele added the more information required Issue requires more information or a response from the customer label Aug 23, 2021
@Asreepathi
Copy link

Hey Guys, I am facing similar issue.

When i deploy the BigObject using Git Pipeline I see the following

ERROR running force:source:deploy: Unexpected file found in package directory: /home/runner/work/Prizm-SFS/Prizm-SFS/force-app/main/default/objects/Asset_Account__b/indexes/Account_Index.index-meta.xml

I think Github Pipeline setup is not able to recognize index file.
Pleas help me with this.

Note: I am able to deploy my BigObject related code to Salesforce using VS code with no issues, but i only see above mentioned issue when i try to validate my code using Github pipeline setup via yml.

`

@zhou059
Copy link

zhou059 commented Apr 22, 2022

I'm seeing this same issue as well, same error as Asreepathi

@Asreepathi
Copy link

Asreepathi commented Apr 22, 2022

I'm seeing this same issue as well, same error as Asreepathi

I fixed the issue by just renaming the file to Account_Index.indexe-meta.xml.
You can append just 'e' at the end of the text -->index. (you can add any text really)
That way Github doesn't know its actually index file and our logic still works. Hope it helps

@zhou059
Copy link

zhou059 commented Apr 22, 2022

that's good to know, thanks Asreepathi!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue or pull request that identifies or fixes a bug investigating We're actively investigating this issue more information required Issue requires more information or a response from the customer
Projects
None yet
Development

No branches or pull requests

5 participants