function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jorge Ortega TraversoJorge Ortega Traverso 

Warning: Invalid picklist value in field

Hi all,

I'm deploying with the migration tool several changes and I'm getting warning messages like those ones
[...]
[sf:deploy] Component Failures:
[sf:deploy] 2.  objectTranslations/Point_of_measure__c-es.objectTranslation -- Warning: Invalid picklist value: V in field: Point_of_measure__c.Measure_Point_Status__c (line 77, column 13)
[sf:deploy] 3.  objectTranslations/Point_of_measure__c-en_US.objectTranslation -- Warning: Invalid picklist value: P in field: Point_of_measure__c.Measure_Point_Function__c (line 61, column 13)
[...]
The point is that the <masterLabel> of the translations files match with the Point_of_measure__c.Measure_Point_Function__c picklist fullname values included with the package.
<fields>
        <fullName>Measure_Point_Function__c</fullName>
        <externalId>false</externalId>
        <label>Measure Point Function</label>
        <picklist>
            <picklistValues>
                <fullName>R</fullName>
                <default>false</default>
            </picklistValues>
            <picklistValues>
                <fullName>P</fullName>
                <default>false</default>
            </picklistValues>
            <picklistValues>
                <fullName>C</fullName>
                <default>false</default>
            </picklistValues>
            <sorted>false</sorted>
        </picklist>
        <trackHistory>false</trackHistory>
        <trackTrending>false</trackTrending>
        <type>Picklist</type>
</fields>
    <fields>
        <label><!-- Measure Point Function --></label>
        <name>Measure_Point_Function__c</name>
        <picklistValues>
            <masterLabel>C</masterLabel>
            <translation>COMPROBANTE</translation>
        </picklistValues>
        <picklistValues>
            <masterLabel>P</masterLabel>
            <translation>PRINCIPAL</translation>
        </picklistValues>
        <picklistValues>
            <masterLabel>R</masterLabel>
            <translation>REDUNDANTE</translation>
        </picklistValues>
    </fields>
I found this article https://help.salesforce.com/apex/HTViewSolution?id=000175733&language=en_US which points to the record type configuration, but my Point_of_measure__c object hasn't any record type config.

I have two questions
  1. What is this warning about of?
  2. Could I deploy to production with these kind of warning messages?
Best Answer chosen by Jorge Ortega Traverso
Mahesh DMahesh D
Hi Jorge,

Please check if there is any field dependency.

Also check What are all the picklist field values you have in the source system.

Regards,
Mahesh

All Answers

Mahesh DMahesh D
Hi Jorge,

Please check if there is any field dependency.

Also check What are all the picklist field values you have in the source system.

Regards,
Mahesh
This was selected as the best answer
M SM S
Hi Jorge,

Check out for the dependencies of the fields and check out for the picklist values whether they contains some extra spaces or not. Sometimes extra spaces can create such problems while entering the field values.

Thanks
MS