Skip to content

Fix: duplicate PreloadFilePath value

sagar thapa requested to merge az/st-fix-duplicate-PreloadFilePath into master

This is to fix the issue: #85

Actual behavior

We have duplicate PreloadFilePath fields in the response. Duplicate_PreloadFilePath_1_before

Expected behavior

expected_outcome

Description:

Issue: osdu/data/data-definitions#60 (moved)

Fix:

The problem in the code is created by the first letter uppercase: while accessing the field named PreloadFilePath the json property is expecting field to follow Java naming convention for a variable. It should be corrected to preloadFilePath. This is the reason why metadata response contains duplicate fields. Please refer the above issue link for more clarity.

Changes include:

  • Bugfix (a non-breaking change that solves an issue).

Changes in:

  • Common code

Dev Checklist:

  • Existing Tests pass
  • Verified functionality locally
Edited by Chad Leong

Merge request reports

Loading