Skip to content

Commit

Permalink
Re-added some deprecated fields on LoggerPlugin__mdt w/ required = fa…
Browse files Browse the repository at this point in the history
…lse to reduce issues in orgs upgrading, re-addedthe deprecated class LoggerSObjectHandlerPlugin to the managed package's deprecated folder
  • Loading branch information
jongpie committed Mar 26, 2022
1 parent b3f1907 commit 90fa34b
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>ExecutionOrder__c</fullName>
<description>Deprecated: This field is no longer used.</description>
<externalId>false</externalId>
<fieldManageability>SubscriberControlled</fieldManageability>
<inlineHelpText>Deprecated: This field is no longer used.</inlineHelpText>
<label>Execution Order</label>
<precision>3</precision>
<required>false</required>
<scale>0</scale>
<type>Number</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>PluginApiName__c</fullName>
<description>Deprecated: This field is no longer used.</description>
<externalId>false</externalId>
<fieldManageability>DeveloperControlled</fieldManageability>
<inlineHelpText>Deprecated: This field is no longer used.</inlineHelpText>
<label>Plugin API Name</label>
<length>255</length>
<required>false</required>
<type>Text</type>
<unique>false</unique>
</CustomField>
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8" ?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>PluginType__c</fullName>
<description>Deprecated: This field is no longer used.</description>
<externalId>false</externalId>
<fieldManageability>DeveloperControlled</fieldManageability>
<inlineHelpText>Deprecated: This field is no longer used.</inlineHelpText>
<label>Deprecated: Plugin Type</label>
<required>false</required>
<type>Picklist</type>
<valueSet>
<restricted>true</restricted>
<valueSetDefinition>
<sorted>false</sorted>
<value>
<fullName>Apex</fullName>
<default>true</default>
<label>Apex</label>
</value>
<value>
<fullName>Flow</fullName>
<default>false</default>
<label>Flow</label>
</value>
</valueSetDefinition>
</valueSet>
</CustomField>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<fieldManageability>DeveloperControlled</fieldManageability>
<description>Deprecated: This field is no longer used.</description>
<inlineHelpText>Deprecated: This field is no longer used.</inlineHelpText>
<label>Logger SObject Type</label>
<label>Deprecated: Logger SObject Type</label>
<referenceTo>EntityDefinition</referenceTo>
<relationshipLabel>Logger Plugins</relationshipLabel>
<relationshipName>LoggerSObjectHandlerPlugins</relationshipName>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
public class LoggerSObjectHandlerPlugin {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>54.0</apiVersion>
<status>Active</status>
</ApexClass>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@IsTest
private class LoggerSObjectHandlerPlugin_Tests {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>54.0</apiVersion>
<status>Active</status>
</ApexClass>

0 comments on commit 90fa34b

Please sign in to comment.