You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For ReDBox v1.8, when looking at the Details pane for a particular Data Management Plan (in the Researcher Dashboard), the People section shows the following for the Collaborators list when there are no collaborators.
This is despite the template at portal/dashboard/dashboard/display/package-dmpt/detail/preview/sections/people.vm saying:
#set($personList = $self.getList("locrel:clb.foaf:Person"))
#if ($personList.isEmpty())
<dd>
#noInformation()
</dd>
#else
...only attempt to show the list if we get here
#end
Hence I suspect that the coding in people.vm is ok. The problem appears to be that data is stored for a person (ie. array element 1 is populated) [with blank fields] even though none of the collaborator fields were populated in the form. For example:
Question: Is there a way to ensure that the array is not populated when none of the collaborator (or geospatial) fields are populated? Alternatively is there some work-around?
The text was updated successfully, but these errors were encountered:
For ReDBox v1.8, when looking at the Details pane for a particular Data Management Plan (in the Researcher Dashboard), the People section shows the following for the Collaborators list when there are no collaborators.
This is despite the template at portal/dashboard/dashboard/display/package-dmpt/detail/preview/sections/people.vm saying:
Hence I suspect that the coding in people.vm is ok. The problem appears to be that data is stored for a person (ie. array element 1 is populated) [with blank fields] even though none of the collaborator fields were populated in the form. For example:
Similarly for self-submission, there is the same problem when there are no collaborators. For example:
Similarly for self-submission, there is the same problem when there are no Geospatial locations (in the Coverage section). For example:
Question: Is there a way to ensure that the array is not populated when none of the collaborator (or geospatial) fields are populated? Alternatively is there some work-around?
The text was updated successfully, but these errors were encountered: