HTTP Artifact Source URL validation error 'There are too many characters' in Release Automation 6.9.4
search cancel

HTTP Artifact Source URL validation error 'There are too many characters' in Release Automation 6.9.4

book

Article ID: 450399

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

After Release Automation upgrade to version 6.9.4, the URL for a HTTP artifact version could not be updated. The displayed error is :

There are too many characters

In version 6.9.4 the URL field for HTTP Artifact Source is limited to 100 characters. Before this version the limit was higher and URL with more than 100 characters could be entered.

  • The issue appears immediately after upgrading to 6.9.4.
  • Previously working URLs (often pointing to Artifactory/Nexus) are now rejected.
  • The validation occurs specifically in the "Artifact Source" tab when editing an Artifact Version.

Environment

Release Automation 6.9.4

Cause

In version 6.9.4 the Artifact Source UI has been redesigned. And some fields have a smaller character limit, like url which is limited to 100 characters

Resolution

The resolution of this UI problem will be implemented in next version 6.9.5

As workaround we could update the url of the HTTP artifact directly in the database using a SQL Query like this

update rc_artifact_http
set url='<old_url>'
where url='<new_url>' and artifact_filename='<artifact_filename>'

 

Example :

to change HTTP artifact url for file_example :

From 
http://example.test.com/repository/path_example_1/subgroup1/subgroup2/subgroup3/subgroup4/file_example1.txt
To
http://example.test.com/repository/path_example_1/subgroup1/subgroup2/subgroup3/subgroup4/file_example2.txt

Execute :

UPDATE rc_artifact_http
SET url='http://example.test.com/repository/path_example_1/subgroup1/subgroup2/subgroup3/subgroup4/file_example2.txt'
WHERE url='http://example.test.com/repository/path_example_1/subgroup1/subgroup2/subgroup3/subgroup4/file_example1.txt' and artifact_filename='file_example'