Open Closed

Use asyncPipe in abp-header when opened the role page would error from Module.ɵɵpipe #5542


User avatar
0
LarryLin created
  • ABP Framework version: 7.0.3
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:core.mjs:8400 ERROR TypeError: Cannot read properties of undefined (reading 'onDestroy')
  • Steps to reproduce the issue:

We replace abp's header by replaceComponentService and this customized page used asyncPipe. When we jump to role's page, it would error.

This is our headerComponent Template

This is Module.ɵɵpipe error image:

How to add asyncPipe define by ourself.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    masum.ulu created
    Angular Expert

    Hello,

    Which UI theme you using ?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.