🧪 Experimental KB — Official knowledge hub: community.kaptio.com

Package 'No Main Component Selected' Warning Messages After Release Update

After a Kaptio release update, customers see warning triangle icons in the Package Components tab with the message 'Package has no main component selected'. This affects all packages that existed befo

packages cancellation-engine components warnings release-update

Problem

After a Kaptio release update, customers see warning triangle icons in the Package Components tab with the message ā€˜Package has no main component selected’. This affects all packages that existed before the update, particularly those migrated from production environments.

What We Found

Two new fields were introduced to Package Components in a recent release: ā€˜Is Main Component’ (IsMainComponent__c) and ā€˜Is Main Tour Component’ (IsMainTourComponent__c). These fields are required for the Cancellation Engine to correctly calculate cancellation fees for multi-component packages. Existing packages don’t have these fields configured, triggering the warning messages.

Solution

  1. Navigate to the Package record in Salesforce
  2. Go to the Components tab
  3. Click Edit on the relevant component(s)
  4. Check ā€˜Is Main Component’ checkbox for components that should be included in relative (%) cancellation fee calculations - multiple components can have this checked
  5. Check ā€˜Is Main Tour Component’ checkbox on ONE component only - this determines where fixed-amount cancellation fees are applied
  6. Save the component

Notes

  • These fields are ONLY used by the Cancellation Engine - if the customer is not using the Cancellation Engine, the warnings can be safely ignored
  • The warnings do not affect any other functionality besides cancellation fee calculations
  • Is Main Component: Used for relative/percentage cancellation fees - can be checked on multiple components (e.g., both Cruise and Tour)
  • Is Main Tour Component: Used for fixed-amount cancellation fees - should only be checked on ONE component per package
  • WARNING: If two components are marked as IsMainTourComponent, fixed cancellation fees will be charged twice

Warnings

āš ļø Only mark ONE component as ā€˜Is Main Tour Component’ per package - marking multiple will cause fixed fees to be applied multiple times āš ļø These warnings will persist until the fields are configured, but they have no functional impact if Cancellation Engine is not in use


Source: KHELP-12289

Was this article helpful?