Broken Reference Relationships When Copying Library Folders in Spotfire

Broken Reference Relationships When Copying Library Folders in Spotfire

book

Article ID: KB0137696

calendar_today

Updated On:

Products Versions
Spotfire 14.0.0

Description

When both an Information Link and an associated analysis are copied together to a new library folder, the analysis in the new location is correctly linked to the copied Information Link. However, if the copied Information Link is later deleted, the original analysis (which should still be pointing to the original Information Link) fails due to a "Missing Information Link" error.

Steps to Reproduce

  1. Create an Information Link and an associated analysis that uses data from that IL and place them under a certain folder in spotfire library.
  2. Select both the Information Link and the analysis, and copy them to a different folder within the Spotfire Library.
  3. Open the newly copied analysis and confirm that it references the copied Information Link.
  4. Delete the newly copied Information Link.
  5. Open the original analysis.

Observation
The original analysis fails to load with an error indicating a missing Information Link.

Expected Behavior
The original analysis should retain its link to the original Information Linl and function correctly, regardless of actions taken on the copied Information Link.

Environment

14.0.6 or lower

Resolution

This issue has been resolved in Spotfire Server version 14.0.7. Please refer to the Spotfire Server 14.0.7 release notes, under the "Closed Issues" section:


TSS-35107: When you copy library items with dependencies to each other (such as an analysis and
an information link), sometimes the original library item starts to reference the copied
library item instead of the original one.

Here is the workaround:

If upgrading to version 14.0.7 is not currently feasible, a workaround is available by disabling the library content cache. This prevents the erroneous cross-linking behavior but may result in reduced performance in Spotfire Analyst and Web Player.

 

Steps to Disable Library Content Cache: There are two ways to disable library content cache.

Using Spotfire Configuration UI

  1. Open the Configuration Tool on the Spotfire Server.
  2. Navigate to the XML View tab.
  3. Click Edit, then search for the property: content-caching-enabled.
  4. Set the value to "false".
  5. Click Update, then Save the configuration.
  6. Restart the Spotfire Server service.

Using Command Line

  1. Export the current configuration: config export-config
  2. Set the caching property: config set-config-prop library.content-caching-enabled false
  3. Import the updated configuration: config import-config
  4. Restart the Spotfire server or the entire cluster.

 

Additional Information
Disabling caching is a temporary mitigation strategy. To fully resolve the issue and maintain optimal performance, upgrading to Spotfire Server 14.0.7 or later is strongly recommended.

Issue/Introduction

This article describes an issue observed in Spotfire when copying library folders that contain Information Links (ILs) and associated analyses. The error results in broken reference relationships, leading to failure in the original analysis after certain actions.

Additional Information