Opened 6 years ago

Closed 6 years ago

#1918 closed defect (fixed)

Can't export the derived bioassays column in physical bioassays list

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.4.1
Component: web Version:
Keywords: Cc:

Description (last modified by Nicklas Nordborg)

Use the "Save as" feature to see the error message, otherwise export just stands waiting at 0%.

net.sf.basedb.core.InvalidDataException: 
Path does not exist: PhysicalBioAssay.&rootDerivedBioAssays(%name) 
   at net.sf.basedb.core.Metadata.getPropertyPath(Metadata.java:359) 
   at net.sf.basedb.clients.web.plugins.ExportedProperty.parse(ExportedProperty.java:86) 
   at net.sf.basedb.clients.web.plugins.SimpleExport.performExport(SimpleExport.java:302) 
   at net.sf.basedb.core.plugin.AbstractExporterPlugin.run(AbstractExporterPlugin.java:146) 
   at net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:116) 
   at net.sf.basedb.core.PluginExecutionRequest.run(PluginExecutionRequest.java:142) 
   at java.lang.Thread.run(Unknown Source)

Change History (2)

comment:1 Changed 6 years ago by Nicklas Nordborg

Description: modified (diff)

Exporting all other columns seems to work. Seems like the export was broken by the fix to #1895 which introduced the '%' in &rootDerivedBioAssays(%name) to fix the filtering issue.

Need to update the code that assigns data loader and formatter for this columns since the '%' is missing there.

comment:2 Changed 6 years ago by Nicklas Nordborg

Resolution: fixed
Status: newclosed

(In [6715]) Fixes #1918: Can't export the derived bioassays column in physical bioassays list

Add '%' to the registration of data loader and formatter so that the names matches the filter expression.

Note: See TracTickets for help on using tickets.