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

Extracting FlexiPage metadata is missing LWC components. #1010

Closed
NithunGHub opened this issue May 10, 2021 · 10 comments
Closed

Extracting FlexiPage metadata is missing LWC components. #1010

NithunGHub opened this issue May 10, 2021 · 10 comments
Labels
area:lwc Highlights the lwc functional area of the CLI. owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.

Comments

@NithunGHub
Copy link

Summary

Lightning Record Page with LWC components is missing those component instances on metadata extract.

Steps To Reproduce:

  1. create a record Page and place custom LWC.
  2. Extract the Flexi Page and the component instance of LWC is not retrieved.

Expected result

record page should have the component instance of the LWC when extracted.

Actual result

record page is missing component instance of the LWC when extracted.

@NithunGHub NithunGHub added the investigating We're actively investigating this issue label May 10, 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.

@fpbrault
Copy link

I've also observed this issue, and it does not appear to be specific to sfdx, as it also happens when generating a changeset. I think this is actually a Salesforce issue...

@shetzel shetzel added more information required Issue requires more information or a response from the customer and removed investigating We're actively investigating this issue labels May 17, 2021
@shetzel
Copy link
Contributor

shetzel commented May 17, 2021

@NithunGHub - can you please provide more details in the repro and what exactly is missing in the file? Maybe an example file of what you're expecting or the missing field?

@NithunGHub
Copy link
Author

NithunGHub commented May 17, 2021 via email

@no-response no-response bot removed the more information required Issue requires more information or a response from the customer label May 17, 2021
@shetzel shetzel added the more information required Issue requires more information or a response from the customer label May 17, 2021
@shetzel
Copy link
Contributor

shetzel commented May 17, 2021

Tracked with W-9281878, with the LWC team.

@shetzel shetzel added owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team. and removed more information required Issue requires more information or a response from the customer labels May 17, 2021
@github-actions
Copy link

We have determined that the issue you reported exists in code owned by another team that uses only the official support channels. To ensure that your issue is addressed, open an official Salesforce customer support ticket with a link to this issue. We encourage anyone experiencing this issue to do the same to increase the priority. We will keep this issue open for the community to collaborate on.

@tsalb
Copy link

tsalb commented May 17, 2021

+1 to being affected.

For an additional data point, included is a sample flexipage XML of an appExchange component being stripped away. I've confirmed it is not actually removed when looking at App Builder in the Summer 21 full sandbox.

image

Output of sfdx plugins --core if needed, but sounds like it's not a cli specific issue.

@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.2 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-update 1.4.0-3 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.9 (core)
auth 1.5.3 (core)
config 1.2.8 (core)
generator 1.1.5 (core)
salesforcedx 51.12.0 (core)
├─ schema 1.0.6 (core)
├─ apex 0.2.0 (core)
├─ data 0.4.6 (core)
├─ limits 1.2.0 (core)
├─ custom-metadata 1.0.12 (core)
├─ user 1.2.10 (core)
├─ templates 51.3.1 (core)
├─ salesforce-alm 51.6.23 (core)
├─ org 1.6.5 (core)
└─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
sfdmu 4.2.6
sfdx-cli 7.101.0 (core)
telemetry 1.2.0 (core)

@dcheng666666
Copy link

I also got this issue. I put one custom lwc component under Tab in a Flexipage, When i try to retrieve the source code for Flexipage by the following command, I don't find any lwc component description in Flexipage xml.

sfdx force:source:retrieve -x manifest/package.xml

@ghost
Copy link

ghost commented Feb 28, 2022

Is it fixed?

On trailblazer it seems to be but not for me:
https://trailblazer.salesforce.com/issues_view?id=a1p4V000001a1N4QAI&title=lwc-component-instances-are-dropped-from-flexipage-in-metadata-api-retrieve

$ sfdx plugins --core
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.3.1 (core)
@oclif/plugin-not-found 1.2.6 (core)
@oclif/plugin-plugins 1.10.11 (core)
@oclif/plugin-update 1.5.0 (core)
@oclif/plugin-warn-if-update-available 1.7.3 (core)
@oclif/plugin-which 1.0.4 (core)
@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
alias 1.2.1 (core)
apex 0.8.0 (core)
auth 1.8.1 (core)
community 1.1.4 (core)
config 1.3.19 (core)
custom-metadata 1.0.12 (core)
data 0.6.9 (core)
generator 1.2.2 (core)
info 1.2.1 (core)
limits 1.3.0 (core)
org 1.11.1 (core)
salesforce-alm 53.10.2 (core)
schema 1.1.0 (core)
sfdx-cli 7.138.1 (core)
source 1.8.11 (core)
telemetry 1.4.0 (core)
templates 53.5.0 (core)
trust 1.1.0 (core)
user 1.7.1 (core)

@preddivari preddivari added area:lwc Highlights the lwc functional area of the CLI. area:ui and removed area:ui labels Nov 7, 2023
@mdonnalley
Copy link
Contributor

LWC team has fixed this issue. Please re-open if you think it's still an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:lwc Highlights the lwc functional area of the CLI. owned by another team The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Projects
None yet
Development

No branches or pull requests

7 participants