Error when renaming or importing or creating an object in v24 with more than 255 characters
search cancel

Error when renaming or importing or creating an object in v24 with more than 255 characters

book

Article ID: 281316

calendar_today

Updated On: 03-28-2024

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

In v24, an object's Title field may contain up to 512 UTF-8 characters. However, long titles cause a problem for the Rename dialog box (and also for the Import).

Click on an object with a long (>255 character) title, choose Rename, and then just click OK. An error message will appear:

An unexpected error occurred. Further details are available in the logfiles.

The AWI log will show that the AWI is imposing the old v21 limit of 255 characters:

[ERROR] ERRR [com.uc4.webui.common.errorhandling.Safe] - Error Dialog: Title too long (255):
java.lang.IllegalArgumentException: Title too long (255):
        at com.uc4.communication.requests.RenameObject.<init>(RenameObject.java:68)
        at com.uc4.ecc.backends.impl.dataservice.object.Common$Objects.renameObject(Common.java:202)
        at com.uc4.ecc.backends.impl.dataservice.object.Common$Objects.renameObject(Common.java:187)

Environment

Automation Engine 24.0.x

Cause

Defect

Resolution

Update to a fix version listed below or a newer version if available.

Fix version:
Component(s): CallAPI Java, Automic Web Interface
Will be fixed in Automation.Engine 24.1.0 - Planned release end June 2024

Additional Information

Defect ID: AE-36447

Public Description: A bug has been fixed when changing object title of an object during rename where now the correct character limit of 512 is enforced.

Areas modified within this ticket:

  • Changed REST API to allow 512 characters as title
  • Fix Add Object Dialog
  • Fix Add Folder Dialog
  • Fix Add Timezone Dialog
  • Fix Add Client Dialog
  • Extend fields for Archive Key 1
  • Extend fields for Archive Key 2