Project

General

Profile

Bug #37505

mgr/dashboard: Using @cdEncodeNot raises runtime error

Added by Volker Theile almost 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
General
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using

emailExists(@cdEncodeNot email: string): Observable<boolean> {

I get the following error at runtime

rgw-user.service.ts:143 Uncaught ReferenceError: Observable is not defined
    at rgw-user.service.ts:143
    at Module../src/app/shared/api/rgw-user.service.ts (rgw-user.service.ts:151)
    at __webpack_require__ (bootstrap:78)
    at Module../src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts (main.js:9750)
    at __webpack_require__ (bootstrap:78)
    at Module../src/app/app-routing.module.ts (main.js:391)
    at __webpack_require__ (bootstrap:78)
    at Module../src/app/app.module.ts (app.component.ts:13)
    at __webpack_require__ (bootstrap:78)
    at Module../src/main.ts (main.ts:1)

History

#1 Updated by Volker Theile almost 4 years ago

See https://github.com/ceph/ceph/pull/25334#issuecomment-443750284 for more infos where the decorator is planned to be used.

#2 Updated by Tiago Melo about 2 years ago

  • Status changed from New to Closed

Please reopen if this is still needed.

#3 Updated by Ernesto Puerta over 1 year ago

  • Project changed from mgr to Dashboard
  • Category changed from 132 to General

Also available in: Atom PDF