Skip to content

Prop validation error on Usage Quota settings page

Summary

User settings - pipelines usage overview component fails prop validation.

Important note - prop warnings only appear on a development environment. However the lack of an expected prop may cause other unexpected behavior - this should be investigated.

Steps to reproduce

(GDK ONLY)

  1. Navigate to http://<gdk-url>/-/profile/usage_quotas
  2. View the browser console.

What is the current bug behavior?

The following error appears in the browser console:

[Vue warn]: Invalid prop: type check failed for prop "minutesLimit". Expected String, got Undefined 

found in

---> <PipelinesUsageOverview> at ee/app/assets/javascripts/ci/usage_quotas/pipelines/components/usage_overview.vue
       <PipelineUsageApp> at ee/app/assets/javascripts/ci/usage_quotas/pipelines/components/app.vue
         <Root>

What is the expected correct behavior?

No error appears in the browser console.

Relevant logs and/or screenshots

Screenshot_2022-12-05_at_13.52.46

Output of checks

This bug happens on a local development environment, in Enterprise Edition mode.

Possible fixes

Edited by Tristan Read