Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating TopicAssignment records silently fails in a managed package context #90

Closed
jongpie opened this issue Feb 27, 2021 · 0 comments · Fixed by #173
Closed

Creating TopicAssignment records silently fails in a managed package context #90

jongpie opened this issue Feb 27, 2021 · 0 comments · Fixed by #173
Labels
Feature: Tags Items related to Nebula Logger's tagging/labeling functionality Logging Source: Apex Items related to using Logger within Apex Logging Source: Flow Items related to using Nebula Logger within Flow Package Type: Managed Package Issues and enhancements that specifically apply to the managed package Type: Bug Something isn't working

Comments

@jongpie
Copy link
Owner

jongpie commented Feb 27, 2021

The Logger and LogEntryEventBuilder methods for using Salesforce's Topics are not currently available in the managed package due to an issue with the functionality. New Topic records were successfully created, but the related TopicAssignment records for Log__c and LogEntry__c` were never inserted.

This functionality all works both when running in an org without a namespace (unpackaged code), as well as in a namespaced scratch org (using the same Nebula namespace, but silently fails in orgs that have installed the managed package.

Possible theories

  • Some kind of permission issue with managed package + automated process user
  • Maybe topic assignments should be created async (but still would not explain why this functionality works fine when running as unpackaged code/no namespace)
@jongpie jongpie added the Type: Bug Something isn't working label Feb 27, 2021
@jongpie jongpie added this to the Release 4.2.0 milestone Feb 28, 2021
@jongpie jongpie added the Logging Source: Apex Items related to using Logger within Apex label Mar 8, 2021
@jongpie jongpie added Logging Source: Flow Items related to using Nebula Logger within Flow Package Type: Managed Package Issues and enhancements that specifically apply to the managed package labels Mar 16, 2021
@jongpie jongpie added the Feature: Tags Items related to Nebula Logger's tagging/labeling functionality label Mar 23, 2021
@jongpie jongpie modified the milestones: Version 4.3.0, Version 4.4.0 Mar 23, 2021
@jongpie jongpie modified the milestones: Version 4.4.0, Version 4.5.0 May 3, 2021
@jongpie jongpie modified the milestones: Version 4.5.0, Version 4.6.0 Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Tags Items related to Nebula Logger's tagging/labeling functionality Logging Source: Apex Items related to using Logger within Apex Logging Source: Flow Items related to using Nebula Logger within Flow Package Type: Managed Package Issues and enhancements that specifically apply to the managed package Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant