Changeset 7019


Ignore:
Timestamp:
Nov 18, 2015, 2:50:00 PM (7 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1967: Blank page when entering Experiment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.6-stable/www/views/experiments/view_experiment.jsp

    r6963 r7019  
    526526            for (RootRawBioAssay item : rawBioAssays)
    527527            {
    528               RawBioAssay rba = item.getRawBioAssay();
     528              RawBioAssay rba = null;
     529              try
     530              {
     531                rba = item.getRawBioAssay();
     532              }
     533              catch (PermissionDeniedException ex)
     534              {}
    529535              AnnotationSet as = item.isAnnotated() ? item.getAnnotationSet() : null;
    530536              AnnotationSetSnapshot snapshot = as == null ? null : manager.getSnapshot(dc, as.getId());
     
    534540                    image="deleted.png"
    535541                    tooltip="This item has been scheduled for deletion"
    536                     visible="<%=rba.isRemoved()%>"
     542                    visible="<%=rba != null && rba.isRemoved()%>"
    537543                  /><%=Base.getLinkedName(ID, item, false, true)%></tbl:cell>
    538544                <tbl:cell column="description"><%=HTML.encodeTags(item.getDescription())%></tbl:cell>
Note: See TracChangeset for help on using the changeset viewer.