Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [patch]

The tag has no usage guidance.

1
vote
0answers
74 views

How to work with patch orgs in Einstein Analytics apps

I think Einstein Analytics apps are incompatible with Patch orgs. Why that? To develop our software we build Einstein analytics apps and dashboards. We learned it the hard way that we cannot add those ...
-1
votes
0answers
22 views

request.patch composite api duplicate value found: <unknown> duplicates value on record with id: <unknown>

I have googled and looked around for solutions with no real luck. I am switching over from bulk api to composite api and I am getting some upsert errors with current unique externalid's. CASE 1: ...
0
votes
1answer
24 views

Correct HttpPatch and correct test for it

I need to update a right record with ExternalID = Id of inserted record. And I try to check this field (ExternalID) in SOQL, but get an error System.QueryException: List has no rows for assignment to ...
1
vote
1answer
34 views

Remote Site Settings are deactivated in Patch Org

I recently found out that when i create a patch org from packaging org, Remote site settings in patch org populate as deactivated. I was not aware of this and i released a patch. Now when i upgrade ...
3
votes
1answer
130 views

How to send a PATCH HTTP Callout from Apex to Salesforce Tooling REST API

BACKGROUND I using Apex to get a list of FlowDefinition and would like to update the activeVersionNumber via using a PATCH request. QUESTION How can I achieve this using Apex if it does not support ...
0
votes
0answers
84 views

PATCH/PUT Rest - List of sObjects

I would like to create a API Rest where my endpoint receive a list of Accounts in JSON, the list contains few fields of the account with the new values to update. This is my actual code, but it works ...
0
votes
0answers
730 views

Getting Error 405 method not allowed when trying to Use Patch

I am integrating Salesforce with oracle and I have tried below things - request.setHeader('X-HTTP-Method-Override','PATCH'); request.setMethod('POST'); And request.setEndpoint.('ENDPOINT_URL?...
1
vote
1answer
218 views

HTTP Method 'PATCH' not allowed. Allowed are POST,DELETE,GET,HEAD

I have created a method to update the records in a case. @RestResource(urlMapping= '/FieldCases/*') global with sharing class RestCaseController { @HttpPatch global static String caseUpdate(...
2
votes
1answer
31 views

Managed package : can I create a patch for previous version major package

Let's say I have created a major package 1.2.0 and have added some new functionality with new components. I also have a package with version 1.1.6 without the new components and functionality. For ...
1
vote
0answers
54 views

Is there a way to do PATCH request with Marketing Cloud AmpScript or SSJS?

In Marketing Cloud AmpScript and SSJS, there is are no references for PATCH request. I wonder if we are able to make PATCH request? I'm trying to update a mobile connect record and I'm able to do so ...
1
vote
1answer
18 views

PATCH Service with Only Changed Data

I'm trying to come up with a solution to build a PATCH service where the external service will only be patching data that has change in their external system, we want to do this to to limit the ...
2
votes
0answers
55 views

How to find the Salesforce patch version of a scratch org?

Known issues such as this one lightning:recordEditForm does not display fields from standard objects when in create mode list the instances that the fix has been applied to e.g. CS11 or NA6. But I'm ...
1
vote
1answer
54 views

Managed Package Patch: Is creation of helper js allowed for existent (already in patch) aura component?

We have a lightning component along with js controller and apex controller in our managed package patch. Now we need to introduce helper js for this already existent component. From my perspective ...
2
votes
0answers
38 views

Managed Package: Detect from post install script if it's patch or major version

When our managed package is installed in subscriber org, we need to populate some custom settings from post install script. But different data should be inserted for major version versus patch version ...
2
votes
1answer
105 views

Managed Package Patch: Is new label creation allowed

It's mentioned that addition of new artifacts is not allowed in the scope of patch changes for managed package. The question here is - does label creation considered to be an addition of new artifact? ...
0
votes
0answers
36 views

Managed Package: Code validation against patch org before actual deployment there

After releasing main version of our managed package, we've decided to go ahead with bug fixing using patch org. It's well known that patch org doesn't allow any addition or removal of artifacts. But ...
0
votes
2answers
307 views

Salesforce REST upsert for externalId cause DUPLICATE_VALUE error

I send next upsert request to Salesforce: PATCH /services/data/v41.0/sobjects/Task/uuid__c/a22ac4d6-e2c0-4e53-898d-ea1d0c807775 HTTP/1.1 Host: **********.my.salesforce.com Content-Type: application/...
5
votes
0answers
49 views

Process Builder namespace error in Managed Package Patch

I am currently having a block around a problem with the process builder in a managed package, specifically when trying to upload a patch. Basically, the process builder seems to append the package ...
0
votes
1answer
56 views

Marking field as External Id in managed package patch org

Can we mark a field as External Id in a patch org? I need this so that the field will be indexed.
3
votes
1answer
244 views

Is there a Patch release schedule? Can I request my org be upgraded to the latest Patch?

I recently discovered a bug that makes it impossible to deploy subscriber triggers on Platform Events. In my sandbox environment, the bug appears to be fixed. Yay! Unfortunately, that patch has not ...
3
votes
1answer
35 views

Track patches deployed in Salesforce

Recently we have asked Salesforce team to look into one issue specific to one org. They have deployed a patch for same in that org. Is there any way, we can track the patches deployed by Salesforce ...
1
vote
1answer
29 views

Is patching a managed package with a runtime dependency on other package impossible?

I need to create a patch release of one of our managed packages and have created the patch org. But that patch org did not include the two managed packages present in the normal packaging org and when ...
0
votes
1answer
98 views

Reparentable Master Detail option of custom field in patch release

I have a custom field in my managed package with "Reparentable Master Detail" option as unchecked. I want to enable this option. Is it possible to do the same with PATCH release of my package? I know ...
2
votes
1answer
101 views

Can't Upload Patch - Previously Deprecated Components Recognized as New, Can't Delete Them Either

I can't upload a patch because, as the error says: A patch version cannot contain any new components. The list below indicates which components you must remove before proceeding with the upload. ...
1
vote
0answers
38 views

Apex HttpRequest with PATCH method to update Outlook 365 Event [duplicate]

I am running into an issue which now bang my head. I just recognize that Apex doesn't support HttpRequest with PATCH method. The Rest API to update event on Outlook 365 is PATCH https://outlook....
0
votes
1answer
469 views

PATCH upsert generates 404 NOT FOUND in Rest API for existing Contact

Trying to perform Contact UPSERT using external ID field, but getting 404 NOT FOUND error: PATCH:/services/data/v33.0/sobjects/Contact/MyExternal_Id__c/EXID0001 Based on Salesforce documentation, ...
0
votes
1answer
67 views

Patch Org to update managed package

Patch org is version deepened or Org depended? Means we use one patch org for one version or for all versions update?
1
vote
1answer
67 views

How can I tell what “patch” level has been deployed to a pre-release org?

I am tracking several issues with Summer '16 locker service in a pre-release org (on gs0) that are actively being discussed on this site. When Salesforce employee answers or comments with "a fix is ...
2
votes
1answer
44 views

Creating a second patch on a managed package

On our managed package, we created and released a patch on the latest version Eg:- major release version - 2.1. Patch released - 2.1.1 I am working on another escalation and I would like to create ...
2
votes
1answer
271 views

Getting “Managed Package Patch Modification” Exception - when nothing has been modified

We are getting the following error when attempting to deploy an UN-changed version of an AuraDefinitionBundle to one of our Patch orgs using the Force.com Migration Tool: UNKNOWN_EXCEPTION: Managed ...
2
votes
0answers
26 views

Upgrading a managed package from patch to the next release version

I have a managed package in production currently (4.1) and I am looking to release a patch for this version (4.1.1). In the near future, when we release a 4.2, can my customers upgrade from 4.1.1 to 4....
2
votes
1answer
46 views

Can a patch be made/installed during Spring '16 blackout?

The Dev org for our Managed Package Spring '16 upgrade is scheduled to be done tomorrow (Feb 6). We have an Extension Package org and several customer orgs related that are not going to be upgraded ...
5
votes
3answers
133 views

Tests fail with CPU timeout - but only in Patch orgs

This seems to be something new. Maybe a change in Salesforce.com server infrastructure. I am unable to upload patches of my product as some of its tests (run forever and then) fail with CPU Timeout ...
4
votes
0answers
135 views

Does post-install script run when a patch version of the package is installed?

Recently we've run into a situation where we've provided an installation link for a patch version of the package (e.g. v1.23.4) to a user, and after this user has successfully installed the patch, the ...
1
vote
1answer
41 views

Global Remote Action in AppExchange App's patch

Can we not add global remote actions in patch for an application?
4
votes
3answers
181 views

N>Help, Can't Login to Patch Organization

I already have a managed package and I'm trying to do "push upgrades". I already did most of the steps needed but I'm stuck on the patch organization part. Here is the screenshot of where I am now: ...
3
votes
0answers
114 views

I can't patch a salesforce object using angular and REST api

I'm trying to patch a salesforce object using angular, but am getting no where. Every time I get a nondescript error. salesforce.patch = function(resource, contentType, data) { var http = angular....
39
votes
2answers
1k views

How can I tell what is changing in Salesforce as they patch each pod?

In another question where EU2 was behaving differently to EU5 I commented: For what its worth, trust is listing EU2 as "Release: Summer '15 Patch 9.6" and EU5 as "Release: Summer '15 Patch 10". NA1 ...
1
vote
1answer
121 views

Migrating changes from Patch Organization questions

Is there any native way to migrate change from a Patch Organization to the Development (main dev) Organization? Seems to me the only way to do it is with GIT or some other version control system. (or ...
15
votes
2answers
5k views

How can I make a PATCH HTTP Callout from Apex?

I need to make a PATCH http request. I made the rather incredible discovery today that I can't set an HttpRequest to use the PATCH method, as when sending the request I get a callout exception: ...
1
vote
1answer
286 views

Rest API PATCH method with Large Data Volumes

Are there any best practices relating to the use of the Rest API within an environment with large data volumes? I am aware of the SOQL best practices relating to LDV. Does this relate at all to ...
4
votes
1answer
304 views

Customer org corrupted: Public class deleted in 1.2 magically gets deprecated in 1.1.1 patch

We pushed patch 1.1.1 of our managed app to a customer production org which worked fine in their sandbox for the last weeks. After the installation our customers faces compile-time type errors as Apex ...