Project

General

Profile

Bug #37505

mgr/dashboard: Using @cdEncodeNot raises runtime error

Added by Volker Theile 8 days ago. Updated 8 days ago.

Status:
New
Priority:
Normal
Assignee:
Category:
dashboard/general
Target version:
Start date:
12/03/2018
Due date:
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

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 8 days ago

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

Also available in: Atom PDF