Skip to content

Formatted CO's catalog number is being cast to number regardless of setting. #7532

@alesan99

Description

@alesan99

Describe the bug
Collection Object Format is being
A new behavior introduced in 7.11.3, so only somewhat related to #7468.

Related PRs: #7080, #7512

To Reproduce
Steps to reproduce the behavior:

  1. Use a collection object format with just the catalog number, no separators or anything.
  2. Create a Query for formatted Collection Objects.
  3. See that Collection objects are displayed as '1' instead of '00000001'

Expected behavior
The zeros should only be removed if the "Trim leading zeros" setting is enabled on the formatter.
This should be fixed in a way that doesn't break reports or reintroduce any previous CO formatted fields.

Screenshots

Image

Please fill out the following information manually:

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionThis is behavior that once worked that has broken. Must be resolved before the next release.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions