Skip to content

Products with max valid days not approvable.Β #520

Description

@tanthinh-huynh

Is this a regression?

Yes

Severity

🟠 Major – significantly affects usability

Please provide the branch(es) you discovered this issue in

v100

Environment Details

Edge, Windows 11, OneIM v10

Please provide a minimal set of steps to reproduce the issue

  1. Log in as an identity who has to approve a product, which has set a max. valid days.
  2. Try to approve this product.
  3. (optionally) Try changing the valid until within a valid input.
  4. The error message occurs.

Description

When attempting to approve a product that has MaxValidDays configured, the approval fails with the following error:

PersonWantsOrg: The following fields are compulsory and need to be filled: Valid until. [810077]

This behavior previously worked after migrating the Angular portal to OneIM v10. The issue started occurring only after updating to the latest Angular portal patches for v10.

Describe what you expected to happen versus what actually happened

Instead of an error message, the approval should succeed. No validation error regarding the ValidUntil field is expected, since the date was either correctly prefilled by the system or manually adjusted during testing.

Relevant logs or console output

Add a screenshot(s) if that helps illustrate the problem

Image

Suggested Fix

No response

Anything else?

No response

Before submitting...

  • I have searched for existing issues that match this one on github and on the community support page
  • I have included all necessary details to reproduce this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions