Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

< Return to the Knowledge Base Home Page

Contents

Summary

After clicking Start in the Stopwatch, the newly started Time Tracking Summary doesn’t appear in the Stopwatch. Other active Time Tracking Summaries also don’t appear in the Stopwatch.

The issue occurs when a custom field is created on the Time Tracking Summary object with the same API Name as a field in the Time Tracking managed package.

A workaround is to change the API Name of the field to a name that doesn’t match a field in the managed package.

The issue will be resolved in a future Time Tracking App release.

Replication Steps

In the Stopwatch, do the following:

  1. Enter a value in the Account field.

  2. If desired, enter a value in the second Lookup field.

    image-20240620-135222.png

  3. Click Start.

    image-20240620-135147.png

Expected Results

When Start is clicked, the new Time Tracking Summary appears in the Stopwatch below the New Time Tracking section. Depending on the page, the Account and second Lookup fields in the New Time Tracking section may be cleared out.

image-20240620-135456.png

Actual Results

When Start is clicked, the new Time Tracking Summary doesn’t appear in the Stopwatch below the New Time Tracking section. Depending on the page, the Account and second Lookup fields in the New Time Tracking section may be cleared out.

image-20240620-135611.png

Cause

The issue occurs when a custom field is created on the Time Tracking Summary object with the same API Name as a field in the Time Tracking managed package. For example, if a custom field with the API Name Account__c is created, the issue occurs because there is a field in the managed package named TTracking__Account__c. Because the API Names of the two fields match when ignoring the TTracking namespace, the issue occurs.

Workaround

The issue can be avoided by making sure that no custom fields on the Time Tracking Summary object have the same API Name as fields in the Time Tracking managed package. For example, if there is a custom field with the API Name Account__c, change the API Name of the Account__c field to a name that doesn’t match the API Name of any field in the managed package, such as Account2__c.

Identify the field that is causing the issue

To identify the field that is causing the issue, do the following:

  1. In the Stopwatch, do the following:

    1. Populate the Account field.

    2. If desired, populate the second Lookup field.

    3. Click Start.

  2. Open your browser’s DevTools.

  3. In the Console tab in DevTools, find the Server Error error message, which specifies the field that is causing the issue. Look for “duplicate field selected”.

    image-20240620-140654.png

Resolution

The issue will be resolved in a future Time Tracking App release.

  • No labels