File tree Expand file tree Collapse file tree
orcid-core/src/main/java/org/orcid/pojo/ajaxForm
orcid-web/src/main/java/org/orcid/frontend/web/controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,8 +192,9 @@ public static AffiliationForm valueOf(AffiliationSummary summary) {
192192 form .setAffiliationExternalIdentifiers (affiliationExternalIdentifiers );
193193 }
194194
195- // Set empty url field
196- form .setUrl (new Text ());
195+ if (summary .getUrl () != null && summary .getUrl ().getValue () != null ) {
196+ form .setUrl (Text .valueOf (summary .getUrl ().getValue ()));
197+ }
197198
198199 form .setCreatedDate (Date .valueOf (summary .getCreatedDate ()));
199200 form .setLastModified (Date .valueOf (summary .getLastModifiedDate ()));
Original file line number Diff line number Diff line change @@ -383,9 +383,7 @@ RecordSummary getSummary(String orcid) {
383383 }
384384 }
385385 recordSummary .setName (displayName );
386- }
387-
388- ActivitiesSummary activitiesSummary = record .getActivitiesSummary ();
386+ }
389387
390388 AffiliationGroupContainer groupedAffiliations = publicProfileController .getGroupedAffiliations (orcid );
391389 List <AffiliationGroupForm > groupedEmployments = groupedAffiliations .getAffiliationGroups ().get (AffiliationType .EMPLOYMENT );
You can’t perform that action at this time.
0 commit comments