Skip to main content

While creating the Package version after a long wait of 'verifying  metadata' it shows me alot of errors related to Apex classes, objects and thier fields that this custom metadata doesn't exist in the scratch Dev Org.*

Errors List:

'*

(924) SPR_Report: Variable does not exist: Legacy_Category_Code__c

(925) SWRControllerTest: Variable does not exist: Tax_ID__c

(926) SWRControllerTest: Variable does not exist: Entity_Type__c

(927) SWRControllerTest: Variable does not exist: recordtypeid

(928) SchedulePaymentCATest: Variable does not exist: Tax_ID__c

(929) SendToProblemResolutionCtr_Test: Variable does not exist: Tax_ID__c

(930) SendToProblemResolutionCtr_Test: Variable does not exist: Entity_Type__c

(931) ServicesDeliveredHandlerTest: Variable does not exist: recordtypeid

(932) PurchaseOrderControllerEditTest: SELECT id, name, recordtypeid FROM account

                 ^

ERROR at Row:1:Column:18

No such column 'recordtypeid' on entity 'Account'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.

(933) SDOC__SDRelationship__c: Topics cant be enabled for this entityName: SDOC__SDRelationship__c

(934) Check_Record_Page: We couldn't retrieve the design time component information for component sortablegrid:sdg.

(935) Contact_Record_Page: We couldn't retrieve the design time component information for component CMTD:EnhancedRelatedList.

(936) Contact_Record_Page3: We couldn't retrieve the design time component information for component CMTD:EnhancedRelatedList*.

etc.'

kindly help  me in this situation for creating this package.So we'll be able to upload our app to AppExchange.

Thanks in advance!

 

@Samantha Deiorio

@Gisele Sá Rêgo

@Albi Pratama

@Dev Aditya

@SUNIL SHARMA

@Saravanan Srinivasan

2 个回答
  1. 2024年1月4日 21:21

    I am currently working on 2GP unlocked package and see the errors similar to line 933. Could you please let me know if you were able to resolve it and what was the way forward?

    @Rana Ahmad Altaf 

0/9000