Ticket #750 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

GS3 image collection format stmts

Reported by: sjm84 Owned by: ak19
Priority: moderate Milestone: 3.05 Release
Component: Greenstone3 Runtime Severity: major
Keywords: Cc:

Description

Error in either the format statement itself (variables) or something to do with how it's being evaluated. Try an image collection. The format statement for browsing is set to embed the thumb images in a link that will lead to the full size image. There is no link produced and creating a replacement rule for this in siteConfig.xml is also ignored. Nothing appears in the html output when the source is viewed.

Another problem here is where in the code the new replaceList for gs2-image should go. It should be included in collectionConfig.xml when you have an image collection. (Which is not necessarily defined by the presence of the Image plugin?)

Change History

Changed 6 years ago by ak19

  • status changed from new to closed
  • resolution set to fixed

Both problems fixed.

1. Dr Bainbridge fixed the first one. The commit is http://trac.greenstone.org/changeset/24087 where 2 files were updated:

- http://trac.greenstone.org/browser/main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/Action.java

- http://trac.greenstone.org/browser/main/trunk/greenstone3/web/interfaces/default/transform/config_format.xsl

2. The second problem was fixed with commit 24083 on the file

root/main/trunk/greenstone2/collect/modelcol/etc/collectionConfig.xml

Note: See TracTickets for help on using tickets.