function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Chatter Unfollow Rules - Unmanaged Package test failures

Hey guys,

So here's the situation for the Chatter Unfollow Rules Unmanage package.  I was able to install the package and work with it.  Now that we're trying to deploy new custom code from our sandbox it's failing because it's running all the chatter unfollow code and those are failing, see screenshot of errors below.


It appears the manage prefix is listed though out the code for the unmange package, chttrunfollow__, is referenced through out the code base.  Thoughts?


bug issue for prefix: Dev Board of confirmed error around package prefix


Screenshot of errors:

Screen shot of errors


Sorry for the issues here.  This is due to an Apex bug that that team has deferred for a year or so related to namespaces, unmanaged packages, and batch apex queries.  There isn't a good way to make an unmanaged + managed package play nice in the same source DE org, so the unmanaged org fails once you add the namespace for the managed package.  


To use the unmanaged version, I believe you have to delete the namespace from the 1-3 places in the code and it will work fine.