ui-react gets error where it doesn't pass mappingDefinitionId
See original GitHub issuemappingDefinitionId, etc.
grep -R 'mappingDefinitionId' services/file-management.service.ts: const url = this.cfg.initCfg.baseMappingServiceUrl + 'mappings/' + this.cfg.mappingDefinitionId services/file-management.service.ts: const url = this.cfg.initCfg.baseMappingServiceUrl + 'mapping/RESET/' + this.cfg.mappingDefinitionId; services/file-management.service.ts: const mappingDefinitionIds: number[] = [this.cfg.mappingDefinitionId]; services/file-management.service.ts: for (const mappingDefinitionId of mappingDefinitionIds) { services/file-management.service.ts: const url: string = baseURL + mappingDefinitionId; services/file-management.service.ts: return this.cfg.mappingDefinitionId; services/mapping-identifier.service.ts: const mappingDefinitionId: number = +urlMappingId; services/mapping-identifier.service.ts: if (isNaN(mappingDefinitionId) || mappingDefinitionId == null) { services/mapping-identifier.service.ts: return mappingDefinitionId; services/initialization.service.ts: this.cfg.mappings = new MappingDefinition(this.cfg.mappingDefinitionId); services/initialization.service.ts: this.cfg.mappings = new MappingDefinition(this.cfg.mappingDefinitionId); services/initialization.service.ts: await this.fetchMappingById(this.cfg.mappingDefinitionId); services/initialization.service.ts: if (!await this.fetchMappingById(this.cfg.mappingDefinitionId)) { services/initialization.service.ts: + this.cfg.mappingDefinitionId).toPromise() services/initialization.service.ts: this.cfg.mappingDefinitionId); services/initialization.service.ts: async fetchMappingById(mappingDefinitionId: any): Promise<boolean> { services/initialization.service.ts: if (mappingDefinitionId == null) { services/initialization.service.ts: this.cfg.mappingService.fetchMappings([mappingDefinitionId], this.cfg.mappings).toPromise() services/mapping-management.service.ts: const url: string = this.cfg.initCfg.baseMappingServiceUrl + 'mapping/validate/' + this.cfg.mappingDefinitionId; utils/mapping-serializer.ts: cfg.mappings = new MappingDefinition(cfg.mappingDefinitionId); utils/mapping-serializer.ts: cfg.mappings.name = this.deserializeAtlasMappingName(json, cfg.mappingDefinitionId); utils/mapping-serializer.ts: * Return the AtlasMap mappings file name from the specified JSON buffer or an generate it from mappingDefinitionId. utils/mapping-serializer.ts: static deserializeAtlasMappingName(json: any, mappingDefinitionId: number): string { utils/mapping-serializer.ts: return 'UI.' + mappingDefinitionId; utils/mapping-serializer.spec.ts: cfg.mappingDefinitionId = 0; components/toolbar/toolbar.component.ts: fileName = 'atlasmap-mapping-' + this.cfg.mappingDefinitionId + '.adm'; components/data-mapper-example-host.component.ts: c.mappingDefinitionId = this.mappingIdentifierService.getCurrentMappingDefinitionId(); models/mapping-definition.model.ts: constructor(mappingDefinitionId: number) { models/mapping-definition.model.ts: this.name = MappingDefinition.MAPPING_NAME_PREFIX + mappingDefinitionId; models/config.model.ts: mappingDefinitionId: number;
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@AbbassFaytaroony no sweat, I think Paul is almost finishing this.
@pleacu Ok, on it.