Comments (2)
Hi @kurtfairfield ,
Thanks for bringing this up. I moved the User Factory from RFLIB-FS to the RFLIB package and learned that it did not like this transition during the installation QA, which led me to rename the class to rflib_TestUserFactory
and replaced its usage in the FS and TF package.
I always run an installation and upgrade script before I release the packages, I am curious why this error did not come up and will re-run the tests again. But looking at the error, there is definitely an issue with the upgrade process because TF uses the User Factory class of the FS package and when you upgrade FS with the full compilation, it must have removed the original file rflib_UserFactory
, which caused the TF package to fail compilation.
Therefore, I believe your workaround is valid assuming that you would upgrade the TF package right after.
I will take a look later this week if I can find some way to improve the installation experience in a future release.
But assuming that you upgrade TF right after the FS package, you should be fine and I would expect that all unit tests are passing. Could you please have a look and confirm that this is the case?
Thanks,
Johannes
from rflib.
@j-fischer - thanks for your reply. Yes the workaround seems to be the right choice. I ran all tests in the org and everything passes (except for rflib_SendLogEventEmailActionTest for obvious reasons).
from rflib.
Related Issues (20)
- Download of log files broken in 3.0.1 HOT 1
- Log Level for Exceptions in a "Catch Exception" Trigger Handler HOT 3
- Runtime Error - Invalid conversion from runtime type Map<Id,SObject> to Map<Id,Opportunity> HOT 1
- FeatureSwitchTest fails when there is a trigger on User HOT 2
- rflib_DatabaseDmlExecutor code coverage HOT 4
- Log Monitor not showing whole log data in namespace org HOT 2
- Added option to cap the creation of log events based on Governor Limits
- Report Platform Details in Log Events
- Created By filter for archived logs throws exception
- Archive not populating in Sandboxes, but works in PROD with same settings... HOT 10
- Does logger need to be declared as static? HOT 2
- Question on Email addresses used... HOT 2
- Link log entries to a record id HOT 5
- Exception when Request.getCurrent().getRequestId() is null HOT 4
- Feature Switches with validation rules and Dynamic Lightning Pages HOT 1
- PlatformEventSubscriberConfig to avoid need for Org-wide Email? HOT 7
- Platforms events not firing HOT 3
- Cannot get trigger on rflib_Log_Event__e to fire within unit test HOT 2
- Log Events Not Published HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rflib.