- RRocha
- NEWBIE
- 25 Points
- Member since 2019
- Salesforce Developer
- CO-OP Financial Services
-
ChatterFeed
-
1Best Answers
-
0Likes Received
-
0Likes Given
-
3Questions
-
1Replies
What is the URL for a visualforce page associated to a specific record?
I have a VF page called Material_Nonconformity_Report whose standard controller is an object called. Non_Conformance__c with object code a0t. One record Non Conformance record has an id of a0t3C00000118Df.
The link PageReference('/apex/Material_Nonconformity_Report') gets me to a generic, unassociated preview.
What would the link be to get to a VF page associated with a specific record?
The link PageReference('/apex/Material_Nonconformity_Report') gets me to a generic, unassociated preview.
What would the link be to get to a VF page associated with a specific record?
- Ian Goodine
- August 26, 2019
- Like
- 0
Error “permissionsets/MYPERMSETNAME'S.permissionset — Error: insufficient access rights on cross-reference id” when deploying using ANT
We are currently using Azure Pipelines as our tool for CI/CD.
For our Deployments, we are currently ANT and everything was working fine until we added "Permission Sets" and "Profiles" (using the wildcard) to our package.xml as below:
The sandbox we are deploying to is exactly as Prod, as we just refreshed it. Nothing is really different.
As per Salesforce documentation found here, "There are six documented, specific examples of when this error can occur. They are detailed below, with possible cause/suggestions. However, the error may occur for a new, undocumented scenario also."
After Googling it a lot, most of the scenarios are related to a user not having the right access to a specific record/object/record type, etc...
In this case, our user is an API Only user and the error doesn't occur for the Profiles, only for Permission Sets.
The complete ANT log is below:
Has anybody seen this before?
Thanks.
For our Deployments, we are currently ANT and everything was working fine until we added "Permission Sets" and "Profiles" (using the wildcard) to our package.xml as below:
<types> <members>*</members> <name>PermissionSet</name> </types> <types> <members>*</members> <name>Profile</name> </types>After we added the PermSets and Profiles, we ran our deployment and started receiving the "Error: insufficient access rights on cross-reference id" for every single Permission Set.
The sandbox we are deploying to is exactly as Prod, as we just refreshed it. Nothing is really different.
As per Salesforce documentation found here, "There are six documented, specific examples of when this error can occur. They are detailed below, with possible cause/suggestions. However, the error may occur for a new, undocumented scenario also."
After Googling it a lot, most of the scenarios are related to a user not having the right access to a specific record/object/record type, etc...
In this case, our user is an API Only user and the error doesn't occur for the Profiles, only for Permission Sets.
The complete ANT log is below:
2020-10-13T16:54:57.8664560Z ##[section]Starting: Ant 2020-10-13T16:54:57.8902759Z ============================================================================== 2020-10-13T16:54:57.8904037Z Task : Ant 2020-10-13T16:54:57.8904483Z Description : Build with Apache Ant 2020-10-13T16:54:57.8904759Z Version : 1.175.1 2020-10-13T16:54:57.8905170Z Author : Microsoft Corporation 2020-10-13T16:54:57.8905684Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/ant 2020-10-13T16:54:57.8906115Z ============================================================================== 2020-10-13T16:54:58.4781233Z [command]/usr/bin/ant -version 2020-10-13T16:55:02.5790162Z Apache Ant(TM) version 1.9.6 compiled on July 20 2018 2020-10-13T16:55:02.5811418Z [command]/usr/bin/ant -buildfile /home/vsts/work/r1/a/_Salesforce/buildfiles/build.xml -v -Dserverurl=https://test.salesforce.com -Dpassword=*** -Dtestlevel=All -Dusername=*** deployCode 2020-10-13T16:55:02.5933308Z Apache Ant(TM) version 1.9.6 compiled on July 20 2018 2020-10-13T16:55:02.6068010Z Buildfile: /home/vsts/work/r1/a/_Salesforce/buildfiles/build.xml 2020-10-13T16:55:02.8337450Z Detected Java version: 1.8 in: /usr/lib/jvm/adoptopenjdk-8-hotspot-amd64/jre 2020-10-13T16:55:02.8338922Z Detected OS: Linux 2020-10-13T16:55:03.5477724Z parsing buildfile /home/vsts/work/r1/a/_Salesforce/buildfiles/build.xml with URI = file:/home/vsts/work/r1/a/_Salesforce/buildfiles/build.xml 2020-10-13T16:55:03.6266045Z Project base dir set to: /home/vsts/work/r1/a/_Salesforce/buildfiles 2020-10-13T16:55:04.1127843Z parsing buildfile jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file 2020-10-13T16:55:04.1805366Z [property] Loading Environment env. 2020-10-13T16:55:04.2284426Z Override ignored for property "username" 2020-10-13T16:55:04.2285566Z Override ignored for property "password" 2020-10-13T16:55:04.2286144Z Override ignored for property "serverurl" 2020-10-13T16:55:04.5364713Z parsing buildfile jar:file:/home/vsts/work/r1/a/_Salesforce/buildfiles/ant-salesforce.jar!/com/salesforce/antlib.xml with URI = jar:file:/home/vsts/work/r1/a/_Salesforce/buildfiles/ant-salesforce.jar!/com/salesforce/antlib.xml from a zip file 2020-10-13T16:55:04.5720230Z Build sequence for target(s) `deployCode' is [deployCode] 2020-10-13T16:55:04.5721075Z Complete build sequence is [deployCode, ] 2020-10-13T16:55:04.5721524Z 2020-10-13T16:55:04.5721873Z deployCode: 2020-10-13T16:55:04.5722281Z [antlib:com.salesforce] Could not load definitions from resource com/salesforce/antlib.xml. It could not be found. 2020-10-13T16:55:13.1146051Z [sf:deploy] Request for a deploy submitted successfully. 2020-10-13T16:55:13.1147051Z [sf:deploy] Request ID for the current deploy task: 0Af0q00000gf2gOCAQ 2020-10-13T16:55:13.1166019Z [sf:deploy] Waiting for server to finish processing the request... 2020-10-13T16:55:13.2571146Z [sf:deploy] Request Status: Pending 2020-10-13T16:55:23.4117905Z [sf:deploy] Request Status: InProgress 2020-10-13T16:55:33.5329951Z [sf:deploy] Request Status: InProgress (66/1678) -- Processing Type: CustomObject 2020-10-13T16:55:43.6660074Z [sf:deploy] Request Status: InProgress (66/1678) -- Processing Type: CustomObject 2020-10-13T16:55:53.7918484Z [sf:deploy] Request Status: InProgress 2020-10-13T16:56:04.7966720Z [sf:deploy] Request Status: InProgress 2020-10-13T16:56:14.9897248Z [sf:deploy] Request Status: InProgress (78/1678) -- Processing Account.ATMAnnualRevenue__c 2020-10-13T16:56:25.2741712Z [sf:deploy] Request Status: InProgress (1439/1678) -- Processing Type: ApexClass 2020-10-13T16:56:35.4665922Z [sf:deploy] Request Status: InProgress (1439/1678) -- Processing Type: ApexClass 2020-10-13T16:56:45.7207013Z [sf:deploy] Request Status: InProgress (1506/1678) -- Processing Type: ApexTrigger 2020-10-13T16:56:55.9729987Z [sf:deploy] Request Status: InProgress (1525/1678) -- Processing Type: Profile 2020-10-13T16:57:06.1923607Z [sf:deploy] Request Status: InProgress 2020-10-13T16:57:16.4393361Z [sf:deploy] Request Status: InProgress (1579/1678) -- Processing Type: PermissionSet 2020-10-13T16:57:26.6728477Z [sf:deploy] Request Status: InProgress 2020-10-13T16:57:26.6732859Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:57:26.6733624Z [sf:deploy] Component Failures: 2020-10-13T16:57:26.6734617Z [sf:deploy] 1. permissionsets/API_User_IssueTrak_Fields.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:26.6735631Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:57:37.1519843Z [sf:deploy] Request Status: InProgress 2020-10-13T16:57:37.1521570Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:57:37.1522172Z [sf:deploy] Component Failures: 2020-10-13T16:57:37.1523162Z [sf:deploy] 2. permissionsets/Access_to_CRF.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1524301Z [sf:deploy] 3. permissionsets/Access_to_Do_Not_Call.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1525387Z [sf:deploy] 4. permissionsets/Access_to_Opportunities.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1526471Z [sf:deploy] 5. permissionsets/Beta_Project.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1527521Z [sf:deploy] 6. permissionsets/Access_to_SPA_records.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1528591Z [sf:deploy] 7. permissionsets/Albany_Edit_Tasks.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1529744Z [sf:deploy] 8. permissionsets/Audit_Fields_and_Load_to_Inactive_Users.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1530818Z [sf:deploy] 9. permissionsets/BIA_Requests.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:57:37.1531921Z [sf:deploy] 10. permissionsets/Access_to_Add_On_Product_RT.permissionset -- Error: insufficient access rights on cross-reference id . . . 2020-10-13T16:58:38.6622554Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:58:48.9127628Z [sf:deploy] Request Status: InProgress 2020-10-13T16:58:48.9131543Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:58:48.9132226Z [sf:deploy] Component Failures: 2020-10-13T16:58:48.9133155Z [sf:deploy] 76. permissionsets/Product_Staff_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9134302Z [sf:deploy] 77. permissionsets/Product_Office_Request_Access_Master.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9135805Z [sf:deploy] 78. permissionsets/Product_Office_Request_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9136938Z [sf:deploy] 79. permissionsets/PrePaid_Pricebook_Edit.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9138046Z [sf:deploy] 80. permissionsets/Schedule_and_Subscirbe_Reports.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9139212Z [sf:deploy] 81. permissionsets/Salesforce_Project_Tickets_Task_Managers.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9140343Z [sf:deploy] 82. permissionsets/Remain_in_Classic.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9141394Z [sf:deploy] 83. permissionsets/Smart_Growth_Opps.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9142677Z [sf:deploy] 84. permissionsets/SmartGrowth_Advisor_Field_Edit_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9143783Z [sf:deploy] 85. permissionsets/Service_Console_App.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9144847Z [sf:deploy] 86. permissionsets/SFC_ID_Update_access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:48.9145834Z [sf:deploy] ----------------------------------------------------------------------------------- 2020-10-13T16:58:59.1640090Z [sf:deploy] Request Status: Failed 2020-10-13T16:58:59.4756131Z 2020-10-13T16:58:59.4757061Z BUILD FAILED 2020-10-13T16:58:59.4757509Z /home/vsts/work/r1/a/_Salesforce/buildfiles/build.xml:18: 2020-10-13T16:58:59.4758035Z *********** DEPLOYMENT FAILED *********** 2020-10-13T16:58:59.4758469Z Request ID: 0Af0q00000gf2gOCAQ 2020-10-13T16:58:59.4758826Z 2020-10-13T16:58:59.4759201Z All Component Failures: 2020-10-13T16:58:59.4760482Z 1. permissionsets/API_User_IssueTrak_Fields.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4761506Z 2. permissionsets/Access_to_CRF.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4762550Z 3. permissionsets/Access_to_Add_On_Product_RT.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4763586Z 4. permissionsets/Access_to_Opportunities.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4764591Z 5. permissionsets/Beta_Project.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4765576Z 6. permissionsets/Access_to_SPA_records.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4766573Z 7. permissionsets/Albany_Edit_Tasks.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4769029Z 8. permissionsets/Audit_Fields_and_Load_to_Inactive_Users.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4769842Z 9. permissionsets/BIA_Requests.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4770626Z 10. permissionsets/Access_to_Do_Not_Call.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4771574Z 11. permissionsets/Access_to_Projects_CRF.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4772314Z 12. permissionsets/CRO.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4773099Z 13. permissionsets/CRF_Field_Permission_Expansion.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4773950Z 14. permissionsets/CDA_Edit_Tasks.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4774916Z 15. permissionsets/Beta_Project_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4775763Z 16. permissionsets/Case_permission_override.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4776581Z 17. permissionsets/Client_care_create_ticket.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4777397Z 18. permissionsets/Client_Care_Manager_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4778277Z 19. permissionsets/Chatter_Plus_Ticket_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4779124Z 20. permissionsets/Changing_CSR_Assignment_on_a_case.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4779932Z 21. permissionsets/Change_CRF_Status.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4780851Z 22. permissionsets/Cases_Modify_All.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4781674Z 23. permissionsets/Community_Access_for_CO_OP_Staff.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4782501Z 24. permissionsets/Community_Manager_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4783338Z 25. permissionsets/Contract_Info.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4784079Z 26. permissionsets/Create_SPA.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4784850Z 27. permissionsets/Custom_Metadata_Types.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4785680Z 28. permissionsets/Create_All_Cases.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4786442Z 29. permissionsets/Covera_Tasks.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4787282Z 30. permissionsets/Corp_Dev_Account_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4788108Z 31. permissionsets/Conversion_Analysis_access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4788916Z 32. permissionsets/Create_Client_Care_Case.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4789789Z 33. permissionsets/Dashboards_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4790545Z 34. permissionsets/Delete_Cases.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4791323Z 35. permissionsets/Delete_Chatter_Posts.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4792339Z 36. permissionsets/Delete_Contacts.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4793144Z 37. permissionsets/Delete_files_and_folder.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4793963Z 38. permissionsets/Executive_Concierge_Contact.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4794886Z 39. permissionsets/Edit_Access_on_Co_op_Relationship.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4795743Z 40. permissionsets/Edit_Access_on_Description_field.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4796626Z 41. permissionsets/Edit_Access_on_Quota_Field.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4797423Z 42. permissionsets/Edit_Time_Tracking.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4798208Z 43. permissionsets/Edit_Access_on_CRF.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4799140Z 44. permissionsets/Expanded_CRF_Permissions.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4799943Z 45. permissionsets/FI_Record_Type_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4800702Z 46. permissionsets/Flow_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4801562Z 47. permissionsets/Full_Access_to_Dashboards.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4802363Z 48. permissionsets/IMO_Create_Esclations.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4803168Z 49. permissionsets/Manage_Dynamic_Dashboards.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4804012Z 50. permissionsets/LEx_Report_Builder.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4804851Z 51. permissionsets/Lead_Conversion.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4805683Z 52. permissionsets/Lightning_Experience_And_Classic_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4806593Z 53. permissionsets/Lightning_Experience_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4807493Z 54. permissionsets/Intake_Team_Managers_Edit_Issue_Trak_Ticket_Number.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4808422Z 55. permissionsets/Manage_List_Views.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4809267Z 56. permissionsets/Manage_Public_Templates.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4810095Z 57. permissionsets/Manage_Salesforce_CRM_Content.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4810966Z 58. permissionsets/Manage_Service_Wave.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4811739Z 59. permissionsets/Manage_Tickets.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4812521Z 60. permissionsets/New_Collabria_Account.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4813338Z 61. permissionsets/Modify_All.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4814103Z 62. permissionsets/Modify_All_Accounts.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4814916Z 63. permissionsets/Modify_All_Evaluation_Models.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4816997Z 64. permissionsets/MyCOOP2_Community_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4817877Z 65. permissionsets/Manage_Users.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4818686Z 66. permissionsets/New_Platform_Sales_Record_Type.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4819578Z 67. permissionsets/Opportunities_Modify_All.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4820406Z 68. permissionsets/Opportunity_Record_Type_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4821238Z 69. permissionsets/Platform_CSE_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4899085Z 70. permissionsets/Power_SF_CRO_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4900307Z 71. permissionsets/Platform_Ticket_Read_Only.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4902848Z 72. permissionsets/Platforms_Access_to_CRF.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4903682Z 73. permissionsets/Platforms_Manager.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4904453Z 74. permissionsets/Platforms_User.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4905301Z 75. permissionsets/Platform_Ticket_Create_and_Edit_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4906208Z 76. permissionsets/Service_Console_App.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4907115Z 77. permissionsets/SFC_ID_Update_access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4908027Z 78. permissionsets/Salesforce_Project_Tickets_Task_Managers.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4909048Z 79. permissionsets/Schedule_and_Subscirbe_Reports.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4910012Z 80. permissionsets/SmartGrowth_Advisor_Field_Edit_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4910895Z 81. permissionsets/Remain_in_Classic.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4911916Z 82. permissionsets/PrePaid_Pricebook_Edit.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4913268Z 83. permissionsets/Product_Office_Request_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4914203Z 84. permissionsets/Product_Office_Request_Access_Master.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4915048Z 85. permissionsets/Product_Staff_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4915872Z 86. permissionsets/Smart_Growth_Opps.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4925771Z 87. permissionsets/TimeTrackingDeleteModifyAll.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4926900Z 88. permissionsets/Transfer_Record_Ownership.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4927696Z 89. permissionsets/Type_of_Case.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4928477Z 90. permissionsets/View_All_Data.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4929250Z 91. permissionsets/Wave_Analytics_Users.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4930053Z 92. permissionsets/TimeTrackingDelete.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4930891Z 93. permissionsets/Sprint_Managers_Read_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4931694Z 94. permissionsets/TMG_Access_Now_Admin.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4932574Z 95. permissionsets/TMG_Client_Solutions_Case_Record_Type_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4933395Z 96. permissionsets/Ticket_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4934166Z 97. permissionsets/Write_BIA_read_SPA.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4935028Z 98. permissionsets/sfdcInternalInt__sfdc_activityplatform.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4935885Z 99. permissionsets/zAgile_Connect_Full_Access.permissionset -- Error: insufficient access rights on cross-reference id 2020-10-13T16:58:59.4936354Z 2020-10-13T16:58:59.4936561Z *********** DEPLOYMENT FAILED *********** 2020-10-13T16:58:59.4936734Z 2020-10-13T16:58:59.4937006Z at com.salesforce.ant.DeployTask.logFailedDeploy(DeployTask.java:178) 2020-10-13T16:58:59.4937436Z at com.salesforce.ant.DeployTask.handleResponse(DeployTask.java:150) 2020-10-13T16:58:59.4937910Z at com.salesforce.ant.SFDCMDAPIAntTaskRunner.runTask(SFDCMDAPIAntTaskRunner.java:92) 2020-10-13T16:58:59.4938350Z at com.salesforce.ant.DeployTask.execute(DeployTask.java:63) 2020-10-13T16:58:59.4938760Z at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293) 2020-10-13T16:58:59.4939156Z at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2020-10-13T16:58:59.4939556Z at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 2020-10-13T16:58:59.4940045Z at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 2020-10-13T16:58:59.4940553Z at java.lang.reflect.Method.invoke(Method.java:498) 2020-10-13T16:58:59.4940959Z at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) 2020-10-13T16:58:59.4941365Z at org.apache.tools.ant.Task.perform(Task.java:348) 2020-10-13T16:58:59.4941733Z at org.apache.tools.ant.Target.execute(Target.java:435) 2020-10-13T16:58:59.4942108Z at org.apache.tools.ant.Target.performTasks(Target.java:456) 2020-10-13T16:58:59.4942515Z at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405) 2020-10-13T16:58:59.4942948Z at org.apache.tools.ant.Project.executeTarget(Project.java:1376) 2020-10-13T16:58:59.4943400Z at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) 2020-10-13T16:58:59.4943853Z at org.apache.tools.ant.Project.executeTargets(Project.java:1260) 2020-10-13T16:58:59.4944245Z at org.apache.tools.ant.Main.runBuild(Main.java:853) 2020-10-13T16:58:59.4944602Z at org.apache.tools.ant.Main.startAnt(Main.java:235) 2020-10-13T16:58:59.4945088Z at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285) 2020-10-13T16:58:59.4945488Z at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112) 2020-10-13T16:58:59.4945727Z 2020-10-13T16:58:59.4945918Z Total time: 3 minutes 56 seconds 2020-10-13T16:58:59.4946466Z The process '/usr/bin/ant' failed with exit code 1 2020-10-13T16:58:59.4979911Z ##[error]Error: The process '/usr/bin/ant' failed with exit code 1 2020-10-13T16:58:59.5018091Z ##[section]Finishing: AntNothing more is logged under "Deployment Status" other than what is already in the ANT log.
Has anybody seen this before?
Thanks.
- RRocha
- October 14, 2020
- Like
- 0
Error deploying with ANT - > userCanEditRecordTypeSettings
We started seeing a lot of these errors why deploying using ANT.
Had anybody faced it and knows how to fix it?
Had anybody faced it and knows how to fix it?
deployCodeCheckOnly: [antlib:com.salesforce] Could not load definitions from resource com/salesforce/antlib.xml. It could not be found. [sf:deploy] Request for a deploy submitted successfully. [sf:deploy] Request ID for the current deploy task: 0Afm0000018Te1bCAC [sf:deploy] Waiting for server to finish processing the request... [sf:deploy] Request Status: Pending [sf:deploy] Request Status: InProgress (38/3856) -- Processing Type: Queue [sf:deploy] Request Status: InProgress (332/3856) -- Processing Type: CustomObject [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (400/3856) -- Processing Account.ATMAnnualRevenue__c [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (2689/3856) -- Processing Type: AddressSettings [sf:deploy] Request Status: InProgress (2690/3856) -- Processing Type: Layout [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (3027/3856) -- Processing Type: FlexiPage [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (3150/3856) -- Processing Type: Flow [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (3256/3856) -- Processing Type: Workflow [sf:deploy] Request Status: InProgress [sf:deploy] Request Status: InProgress (3686/3856) -- Processing Type: ApexClass [sf:deploy] Request Status: InProgress (3753/3856) -- Processing Type: ApexTrigger [sf:deploy] Request Status: InProgress (3768/3856) -- Processing Type: Profile [sf:deploy] Request Status: InProgress [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Component Failures: [sf:deploy] 1. profiles/API Only.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 2. profiles/Analytics Cloud Integration User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 3. profiles/Admin.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Request Status: InProgress [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Component Failures: [sf:deploy] 4. profiles/CO-OP Staff Council User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 5. profiles/CO-OP Staff Task Force Community User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 6. profiles/Chatter External User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 7. profiles/Chatter Free User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 8. profiles/Chatter Moderator User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 9. profiles/Chatter Only User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 10. profiles/Client Care.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 11. profiles/Platforms Chatter Plus.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 12. profiles/Collabria User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 13. profiles/Community Manager.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 14. profiles/ContractManager.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 15. profiles/Customer Community Plus User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 16. profiles/Developer Admin.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 17. profiles/Guest License User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 18. profiles/Inactive.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 19. profiles/Integrations Team.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 20. profiles/MarketingProfile.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 21. profiles/MyCO-OP 2%2E0 Community Profile.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 22. profiles/Operational Excellence Co-Creation Council User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 23. profiles/Operations User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 24. profiles/PPM Pro.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 25. profiles/Business Partner User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 26. profiles/BIA Chatter Plus.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 27. profiles/Analytics Cloud Security User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 28. profiles/Co-Creation Council Community Profile.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Request Status: InProgress [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Component Failures: [sf:deploy] 29. profiles/Product - Portfolio Manager.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 30. profiles/TMG Marketing User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 31. profiles/Product Office Team.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 32. profiles/ReadOnly.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 33. profiles/Service Desk.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 34. profiles/Shared Branch.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 35. profiles/SolutionManager.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 36. profiles/Solutions Co-Creation Council User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 37. profiles/Standard.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 38. profiles/Standard Client Business Executive.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 39. profiles/Standard Client Solutions Executive.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 40. profiles/Standard EMT User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 41. profiles/Standard Intake Team.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 42. profiles/Standard Operations User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 43. profiles/Standard SE User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 44. profiles/Standard Sales Ops User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 45. profiles/Standard Sales User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 46. profiles/Strategic Pricing.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 47. profiles/Strategy Co-Creation Council User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 48. profiles/TMG Client Solutions.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 49. profiles/TMG Client Solutions - Collabria.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 50. profiles/TMG Client Solutions Manager.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 51. profiles/Product - Prepaid Sales.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 52. profiles/TMG Operations.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 53. profiles/Task Force Community User.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 54. profiles/TMG Product Chatter Plus.profile -- Error: Admin.userCanEditRecordTypeSettings [sf:deploy] 55. objects/Case.object (Case.Require_Submitter_Name) -- Error: Field Submitted_By_collabria__c does not exist. Check spelling. (line 57838, column 22) [sf:deploy] ----------------------------------------------------------------------------------- [sf:deploy] Request Status: Failed
- RRocha
- August 27, 2019
- Like
- 0
Unable to pass variable value to ANT script in Azure DevOps
Does anybody know how to pass variable values to ANT task in Azure Devops?
When look into my task logs, I can see the Pipeline variables been passed, but looks like it's trying to overwrite them with the values I manually entered in the build.properties file.
How to I dynamically pass the value of my Pipeline variables into the build.properties file?
When look into my task logs, I can see the Pipeline variables been passed, but looks like it's trying to overwrite them with the values I manually entered in the build.properties file.
How to I dynamically pass the value of my Pipeline variables into the build.properties file?
- RRocha
- August 26, 2019
- Like
- 0
What is the URL for a visualforce page associated to a specific record?
I have a VF page called Material_Nonconformity_Report whose standard controller is an object called. Non_Conformance__c with object code a0t. One record Non Conformance record has an id of a0t3C00000118Df.
The link PageReference('/apex/Material_Nonconformity_Report') gets me to a generic, unassociated preview.
What would the link be to get to a VF page associated with a specific record?
The link PageReference('/apex/Material_Nonconformity_Report') gets me to a generic, unassociated preview.
What would the link be to get to a VF page associated with a specific record?
- Ian Goodine
- August 26, 2019
- Like
- 0