Project

General

Profile

Actions

Bug #37505

closed

mgr/dashboard: Using @cdEncodeNot raises runtime error

Added by Volker Theile over 5 years ago. Updated about 3 years 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)
Actions #1

Updated by Volker Theile over 5 years ago

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

Actions #2

Updated by Tiago Melo over 3 years ago

  • Status changed from New to Closed

Please reopen if this is still needed.

Actions #3

Updated by Ernesto Puerta about 3 years ago

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

Also available in: Atom PDF