question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom stencil seems broken in 3.8

See original GitHub issue

Type of issue: (check with “[x]”)

  • New feature request
  • [X ] Bug
  • Support request
  • Documentation

Current behaviour: Custom stencil that works with 3.6 and 3.7 does not load with 3.8

Expected behavior: Custom stencil should load in the form of a search button.

Steps to reproduce the issue: Upgrade to 3.8, create a new process.

Component name and version: process-services/lib/form/form.component.ts - 3.8

  constructor(
 ...
    private formRenderingService: FormRenderingService
  ) {
      formRenderingService.setComponentTypeResolver('crm_search_primary', () => SearchConstituentButtonComponent, true);
   }

Our code matches the examples: from demo-shell and from the yo generator. Once upgrading to 3.8 we get an error message in the form instead of the search button: Unknown type: crm_search_primary

UPDATE: I commented out the providers block in process-services/lib/form/form.component.ts and the problem goes away.

@Component({
    selector: 'adf-form',
    templateUrl: './form.component.html',
    encapsulation: ViewEncapsulation.None,
    providers: [
        { provide: FormRenderingService, useClass: ProcessFormRenderingService }
    ]
})

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
DenysVuikacommented, May 7, 2020

It seems to be a bug with multiple instances of ProcessFormRenderingService in memory. Investigating a way to fix it.

0reactions
uclaeamsavinocommented, May 13, 2020

Thanks - everything seems to work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is CustomStencil broken? - Rendering - Unreal Engine Forums
I needed to enable stencils in the project settings. Go to Project Settings > Rendering > Post Process > Custom Depth-stencil Pass and...
Read more >
Amazon.com : Custom Stencils Personalized Text ...
Amazon.com : Custom Stencils Personalized Text Stencils for Spray Painting Multi-Use Letter Stencils for ... Customer Reviews, 3.8 out of 5 stars 35Reviews....
Read more >
Custom circular stencil - Footprints - KiCad.info Forums
I am wondering if it is possible to create a custom paste mask that is shown ... [SOLVED] "Broken Ring" pattern in paste...
Read more >
Create, save, and share custom stencils - Microsoft Support
The new custom stencil appears in the Shapes window. Make any changes that you want to the stencil. To save your changes, right-click...
Read more >
Errors when running npm install & broken live preview with ...
Can not get the Stencil CLI environment setup up smoothly any more. Main error seems to be Error: Undefined variable: "$theme-background-color".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found