The custom labels from managed package are retrieved when they aren't subscribed
In the metadata subscription, I select Custom Labels and previously it retrieves all my custom labels not related to the managed package.
After one of the last updates, it started to retrieve custom labels with labels from the managed package and include them in the translations as well. Previously it didn’t work this way.
Comments (8)
-
repo owner -
reporter Sure, will do that and attach the log here.
-
reporter I added entries for Metadata Retrieval and retrieved everything again. I got this log and analyzed from my side what we have there for custom labels. I see that there only we have selected subscription “Custom Labels” and nothing related to the Managed Package.
-
repo owner Hi, Vitaly. I'd likely still need to see a debug log configured as described above. That will show me the exact request and response for this retrieval operation. I did just try to reproduce this by setting up a metadata subscription against an org with multiple installed managed packages that include custom labels that wildcards both the
CustomLabel
andCustomLabels
metadata types, and only the unpackaged labels were retrieved. IC2 does include a filter to allow inclusion of only subscriber-editable metadata types from installed managed packages, and neither of those metadata types are considered subscriber-editable, so I'll be curious to see how/why packaged labels are being returned. It's certainly possible it's due to an IC2 bug, but it's also possible it's due to a bug in the CLI (if this is an SFDX-based project) or the API itself (which seems least likely to me, though).Please reproduce the behavior and send over the logs--privately to support@illuminatedcloud.com if preferred--and hopefully they'll show what's happening.
-
reporter Hi, Scott. It’s interesting but in my another project (partial copy sandbox) it works fine. I tried to uninstall and install this Managed Package, the same. Tried to reproduce it in another sandbox it works fine. Really strange.
If I’m able to do the same in any of my test environment I’ll send you logs and details.
-
repo owner Yeah, I'm honestly surprised that it's happening. My guess--though I'd like to bear it out--is that the CLI is for some reason retrieving the packaged labels against that specific org. A log would show that for sure because it would show the manifest used when running the retrieval followed by the actual metadata returned by that retrieval. Feel free to send such a log over when you corner it a bit more.
-
repo owner - changed status to resolved
Issue tracker grooming. If this is still an issue, please feel free to reopen, ideally with a concrete reproduction scenario.
-
repo owner - changed component to Metadata Deployment/Retrieval/Removal
- Log in to comment
Hi. Can you please enable debug logging for metadata retrieval, reproduce the issue, and either attach or email the resulting
idea.log
for review?