[ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error (#2271)

* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added directives for the custom tags

* Replaced empty list tags with new directives

* Removed CUSTOM_ELEMENTS_SCHEMA document-list, task-list and process-list

* Handled empty attachment list sceeenario in attachment list

* [ADF-1466] Ng2-activiti-tasklist module uses NO_ERRORS_SCHEMA schema, which hides underlying error

* Added tests for disabled and non empty attachments scenario
This commit is contained in:
Deepak Paul
2017-09-01 16:53:51 +05:30
committed by Mario Romano
parent c9b7ddff90
commit 287630d40f
18 changed files with 87 additions and 71 deletions

View File

@@ -15,7 +15,7 @@
* limitations under the License.
*/
import { CUSTOM_ELEMENTS_SCHEMA, ModuleWithProviders, NgModule } from '@angular/core';
import { ModuleWithProviders, NgModule } from '@angular/core';
import {
MdButtonModule,
MdCardModule,
@@ -148,8 +148,7 @@ export const ACTIVITI_PROCESSLIST_PROVIDERS: [any] = [
],
exports: [
...ACTIVITI_PROCESSLIST_DIRECTIVES
],
schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
]
})
export class ActivitiProcessListModule {
static forRoot(): ModuleWithProviders {