Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-1777

[Angular CLI] Production build compilation issue with Search

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Unprioritized
    • Resolution: Resolved
    • Affects Version/s: 1.9.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      ADF Sprint 30

      Description

      When using ng2-alfresco-search with the Angular CLI and running production builds the following error is raised:

      node_modules/ng2-alfresco-search/src/components/search-control.component.html (2,19): Expected 0 arguments, but got 1

      The issue is related to mismatch of the HTML/TS method definitions:

      <form #f="ngForm" (ngSubmit)="onSearch(f.value)" class="adf-search-form">
      onSearch(): void

        TestRail: Results

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  eromano Eugenio Romano
                  Reporter:
                  dvuika Denys Vuika
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    TestRail: Cases

                      Structure Helper Panel