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
andeande 

Time off Manager download error

Hi

I get the following error message when trying to download this app.  Is there some advice you could give me in order to help?

Thank you

Andrea

--------------------------

Your requested download failed. Please try this again.

 

None of the data or setup information in your Salesforce organization should have been affected by this error.

 

If this error persists, contact Support through your normal channels.

Your requested download failed. Please fix the following error(s) or obtain a fix and try this again.

 

If this error persists, contact Support through your normal channels.

 

 

 

Problem:

 

1. Apex Class(01p70000000CimN) tom_test_pay_cycle_boundaries.test_pay_cycle_management()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_pay_cycle_boundaries.test_pay_cycle_management: line 19, column 40

 

2. Apex Class(01p70000000CimW) tom_test_overlap.test_overlap()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_overlap.test_overlap: line 8, column 40

 

3. Apex Class(01p70000000CimX) tom_test_pay_cycle_no_processing.tom_test_pay_cycle_no_processing()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_pay_cycle_no_processing.tom_test_pay_cycle_no_processing: line 13, column 40

 

4. Apex Class(01p70000000CimV) tom_test_payroll_systems.test_payroll_systems()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_payroll_systems.test_payroll_systems: line 15, column 40

 

5. Apex Class(01p70000000CimP) tom_test_pay_cycle_mgmt.test_pay_cycle_management()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_pay_cycle_mgmt.test_pay_cycle_management: line 13, column 40

 

6. Apex Class(01p70000000CimS) tom_test_pto_bal_bulk_del.test_pto_balance_validation_with_bulk_delete()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_pto_bal_bulk_del.test_pto_balance_validation_with_bulk_delete: line 8, column 40

 

7. Apex Class(01p70000000Cima) tom_test_bulk_tors.test_bulk_ops_on_time_off_requests()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_bulk_tors.test_bulk_ops_on_time_off_requests: line 8, column 40

 

8. Apex Class(01p70000000CimJ) tom_test_bulk_time_off_info.test_bulk_time_off_info()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_bulk_time_off_info.test_bulk_time_off_info: line 10, column 35

 

9. Apex Class(01p70000000CimL) tom_test_user_no_manager.test_time_off_request_for_user_without_manager()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_user_no_manager.test_time_off_request_for_user_without_manager: line 9, column 40

 

10. Apex Class(01p70000000Cimb) tom_test_error_conditions.test_package_error_conditions()

System.QueryException: List has no rows for assignment to SObject

Class.tom_test_error_conditions.test_package_error_conditions: line 10, column 31

 

11. Apex Class(01p70000000CimT) tom_test_pto_bal_validation.test_pto_balance_validation()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_pto_bal_validation.test_pto_balance_validation: line 8, column 40

 

12. Apex Class(01p70000000CimZ) tom_test_status_changes.test_time_off_request_status_changes()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_status_changes.test_time_off_request_status_changes: line 9, column 40

 

13. Apex Class(01p70000000CimR) tom_test_record_type_errors.test_record_type_errors()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_record_type_errors.test_record_type_errors: line 8, column 40

 

14. Apex Class(01p70000000CimK) tom_test_cancellation.test_cancellation()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_cancellation.test_cancellation: line 15, column 40

 

15. Apex Class(01p70000000CimO) tom_test_requested_day.test_requested_day_trigger()

System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, time_off_info_trig: execution of BeforeInsert

 

caused by: ptoPackage.Time_Off_Exception: Exactly one Queue named Time_Off_Manager_Payroll must exist, and instead 0 were found.

 

Class.ptoPackage.get_payroll_queue: line 107, column 23

Trigger.time_off_info_trig: line 6, column 31

Class.pto_tests_common.get_test_user_ids: line 124, column 9

Class.tom_test_requested_day.test_requested_day_trigger: line 8, column 40

 

 

 

Thank You,

salesforce.com

experience success

http://www.salesforce.com/

EricBEricB
Hi Andrea,
It looks like the installation process requires that you define the Time_Off_Manager_Payroll queue prior to performing the install.

Take a look at the Time-Off Manager Configuration Guide, Section 5.5, for details on how to do this.  Once you have created this queue, try the installation again.

Regards,
Eric


Pu YiPu Yi
Hi

I also cannot install the Time off Manager app into my Enterprise Edition. I am getting the error message below despite the fact I have follow the installation guide.

Thanks,

Karl

-------

Your requested download failed. Please try this again.

None of the data or setup information in your Salesforce organization should have been affected by this error.

If this error persists, contact Support through your normal channels.
Your requested download failed. Please fix the following error(s) or obtain a fix and try this again.

If this error persists, contact Support through your normal channels.



Problem:


1. Apex Class(01p2000000002Di) tom_test_status_changes.test_time_off_request_status_changes()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_status_changes.test_time_off_request_status_changes: line 9, column 40


2. Apex Class(01p2000000002Dc) tom_test_record_type_errors.test_record_type_errors()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_record_type_errors.test_record_type_errors: line 8, column 40


3. Apex Class(01p2000000002Dp) tom_test_bulk_time_off_info.test_bulk_time_off_info()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_bulk_time_off_info.test_bulk_time_off_info: line 10, column 35


4. Apex Class(01p2000000002Dh) tom_test_overlap.test_overlap()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_overlap.test_overlap: line 8, column 40


5. Apex Class(01p2000000002Du) tom_test_error_conditions.test_package_error_conditions()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_error_conditions.test_package_error_conditions: line 38, column 40


6. Apex Class(01p2000000002Dq) tom_test_pay_cycle_mgmt.test_pay_cycle_management()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_pay_cycle_mgmt.test_pay_cycle_management: line 13, column 40


7. Apex Class(01p2000000002Dl) tom_test_payroll_systems.test_payroll_systems()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_payroll_systems.test_payroll_systems: line 15, column 40


8. Apex Class(01p2000000002De) tom_test_pay_cycle_no_processing.tom_test_pay_cycle_no_processing()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_pay_cycle_no_processing.tom_test_pay_cycle_no_processing: line 13, column 40


9. Apex Class(01p2000000002Dn) tom_test_pto_bal_validation.test_pto_balance_validation()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_pto_bal_validation.test_pto_balance_validation: line 8, column 40


10. Apex Class(01p2000000002Dk) tom_test_requested_day.test_requested_day_trigger()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_requested_day.test_requested_day_trigger: line 8, column 40


11. Apex Class(01p2000000002Do) tom_test_user_no_manager.test_time_off_request_for_user_without_manager()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_user_no_manager.test_time_off_request_for_user_without_manager: line 9, column 40


12. Apex Class(01p2000000002Ds) tom_test_cancellation.test_cancellation()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_cancellation.test_cancellation: line 15, column 40


13. Apex Class(01p2000000002Df) tom_test_pto_bal_bulk_del.test_pto_balance_validation_with_bulk_delete()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_pto_bal_bulk_del.test_pto_balance_validation_with_bulk_delete: line 8, column 40


14. Apex Class(01p2000000002Dg) tom_test_bulk_tors.test_bulk_ops_on_time_off_requests()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_bulk_tors.test_bulk_ops_on_time_off_requests: line 8, column 40


15. Apex Class(01p2000000002Dj) tom_test_pay_cycle_boundaries.test_pay_cycle_management()

System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type
Class.pto_tests_common.get_test_user_ids: line 124, column 9
Class.tom_test_pay_cycle_boundaries.test_pay_cycle_management: line 19, column 40
bnuckelsbnuckels
I am having the same problem installing on Enterprise.  Yes, the configuration guide makes reference to a Queue, but the package should create this queue when it is installed, and it doesn't.  I went ahead and took the step of creating the queue myself, but that results in another error. 

1. Apex Classes(01p600000008SKo) tom_test_pto_bal_bulk_del.
test_pto_balance_validation_with_bulk_delete()
System.DmlException: Insert failed. First exception on row 0; first error: INVALID_OPERATION, Queue not associated with this SObject type

As best I can tell, the installation package is not built properly, and I have no idea how to address this.  Salesforce doesn't support the application and I do not know how to obtain the source although it's listed as Open Source.

Anyone have any success?

kapalselamkapalselam
Hi,

I had the same problem as well. But I managed to install it by choosing Ignore Apex classes errors and continue installation. The package seems to be installed and working properly. I think the errors happen because of the queue and approval process dont exist and need to be created manually after the installation.

Thanks