apex-enterprise-patterns / fflib-apex-common

Common Apex Library supporting Apex Enterprise Patterns and much more!
BSD 3-Clause "New" or "Revised" License
913 stars 517 forks source link

Getting Some errors #270

Closed akshaysharma3 closed 4 years ago

akshaysharma3 commented 4 years ago

Getting Some errors while deploying this to ORG

daveespo commented 4 years ago

@akshaysharma3 -- please provide a complete bug report here. What you were trying to do, the repro steps to produce the error, and the exact detailed output of the error.

akshaysharma3 commented 4 years ago

Deployment Started Status: Queued Status: Completed Deployment Complete Failures: classes/fflib_ApplicationTest.cls(34,22):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(45,19):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(57,26):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(69,23):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(81,3):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(82,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(84,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(85,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(116,3):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(117,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(119,22):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(126,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(127,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(128,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(210,63):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(224,63):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(287,6):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(288,6):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(299,3):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(300,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(302,22):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(309,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(311,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(330,3):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(331,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(333,22):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(334,26):Variable does not exist: fflib_IDGenerator classes/fflib_ApplicationTest.cls(341,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(342,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(343,3):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(392,63):Invalid type: fflib_ApexMocks classes/fflib_ApplicationTest.cls(429,63):Invalid type: fflib_ApexMocks classes/fflib_SObjectDomainTest.cls(238,15):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectDomainTest.cls(239,14):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectDomainTest.cls(240,15):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectDomainTest.cls(276,15):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectDomainTest.cls(277,14):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectDomainTest.cls(278,15):Variable does not exist: fflib_IDGenerator classes/fflib_SObjectMocks.cls(33,11):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(35,40):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(42,32):Variable does not exist: mocks classes/fflib_ApplicationTest.cls(310,3):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(47,27):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(53,11):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(55,42):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(62,32):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(67,27):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(73,11):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(75,44):Invalid type: fflib_ApexMocks classes/fflib_SObjectMocks.cls(82,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(87,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(92,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(97,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(102,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(107,13):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(112,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(117,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(126,13):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(131,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(136,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(141,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(146,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(151,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(156,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(161,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(166,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(171,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(176,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(181,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(186,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(190,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(194,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(198,4):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(204,3):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(209,3):Variable does not exist: mocks classes/fflib_SObjectMocks.cls(214,3):Variable does not exist: mocks

Getting these failures

stohn777 commented 4 years ago

@akshaysharma3 The FFLIB Mocks library should be installed first, per the first line of the Readme file. Good luck.

akshaysharma3 commented 4 years ago

I wasnt not able to deploy the mocks library due to readme.md file now its been deployed with VS Code

On Fri, 28 Feb 2020 at 1:16 PM, John Storey notifications@github.com wrote:

@akshaysharma3 https://github.com/akshaysharma3 The FFLIB Mocks https://github.com/apex-enterprise-patterns/fflib-apex-mocks library should be installed first, per the first line of the Readme file. Good luck.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apex-enterprise-patterns/fflib-apex-common/issues/270?email_source=notifications&email_token=AE6CJKRMR7ONU7QUXMQDACDRFC6NFA5CNFSM4K4UYLFKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHS5IY#issuecomment-592391843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6CJKTDUYIPDITF5S2QTODRFC6NFANCNFSM4K4UYLFA .

-- Regards, Akshay Sharma

ImJohnMDaniel commented 4 years ago

@akshaysharma3 -- As suspected, your issue is not with the fflib-apex-common framework but rather it is the with lack of dependency setup. Please review the setup instructions on the fflib-apex-mocks code base and ensure that it is correct before trying to deploy the fflib-apex-common framework.

If you are still having trouble deploying the fflib-apex-mocks framework, please try to identify what the exact issue is. Please also review an active apex-enterprise-patterns/fflib-apex-mocks#84 issue to see if that is what you are having problems with.