Project

General

Profile

« Previous | Next » 

Revision 61003

[Trunk | Library]:
1. result-preview.ts: In Project interface, added optional boolean field "validated" (parsed in landing pages to show validated projects by funders).
2. parsingFunctions.class.ts: In method "parseFundingByProjects()" added parsing for "validated" field.
3. fundedBy.component.ts: ticket #6228 - Show "Validated by funder" message if "validate" field is true.
4. dataProvider.component.ts: [Bug fix] In method "getDataProviderAggregationStatus()" set "aggregationStatusIsInitialized" to true on success and on error
(not on complete, because after error it never completes and keeps on loading).
5. orcid.component.ts: [Bug fix]
a. In method "getToken()" set "showLoading" to false on success and on error (after error there is no complete).
b. In method "getPersonalDetails()" move "setTimeout" from complete to error.
6. showPublisher.component.ts: [Bug fix] Add "UTC" in pipe when showing published date ({{publishDate | date: 'dd MMM yyyy' : 'UTC'}}).
7. timeout-interceptor.service.ts: Timeout only GET requests.

View differences:

dataProvider.component.ts
271 271
    this.subscriptions.push(this._dataproviderService.getDataproviderAggregationStatus(originalId, this.properties).subscribe(
272 272
      data => {
273 273
        this.dataProviderInfo.aggregationStatus = data;
274
        this.aggregationStatusIsInitialized = true;
274 275
      },
275 276
      err => {
276 277
        //console.log(err);
278
        this.aggregationStatusIsInitialized = true;
277 279
        this.handleError("Error getting content provider aggregation status for id: " + this.datasourceId, err);
278
      },
279
      () => {
280
        this.aggregationStatusIsInitialized = true;
281 280
      }
282 281
    ));
283 282
  }

Also available in: Unified diff