Ticket #449 (closed defect: fixed)

Opened 9 years ago

Last modified 5 years ago

GS2 hard coded {If} in metadata (DSpace, associated files)

Reported by: kjdon Owned by: nobody
Priority: high Milestone: 3.05 Release
Component: Collection Building Severity: major
Keywords: Cc:

Description

A few of the plugins add metadata containing gs2 macros and format statements.

Macros are probably ok as long as they can be resolved by default macro resolver.

Format stuff needs to be changed to be gs3 style for a gs3 collection.

Change History

Changed 8 years ago by kjdon

  • milestone changed from Greenstone 3 wishlist to 3.05 Release

Changed 6 years ago by ak19

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

With a great deal of help from Sam, Veronica and Dr Bainbridge, this ticket got closed at last.

Affected code: web/interfaces/default/transform/config_format.xsl, src/java/org/greenstone/gsdl3/action/Action.java, perllib (mainly BasePlugin?.pm).

Commits:

http://trac.greenstone.org/changeset/24219

http://trac.greenstone.org/changeset/24220

http://trac.greenstone.org/changeset/24224

http://trac.greenstone.org/changeset/24227

Some further GS2 code was affected: lots of perllib plugins and runtime-src's formattools.cpp and dublincore.cpp. The changes were owing to metadata "srclink_file" getting renamed to "srclinkFile" to avoid the problems with underscore (since underscore is used as a meta separate by GS3). The commits for these changes were in:

http://trac.greenstone.org/changeset/24225

http://trac.greenstone.org/changeset/24226

Changed 6 years ago by ak19

In order to have thumbnails appearing again in GS3 as well as for the main document's icon to link to the document itself, set the link type "source" in the GS3 format statement:

<gsf:link type="source">

<gsf:choose-metadata>

<gsf:metadata name="thumbicon"/>

<gsf:metadata name="srcicon"/>

</gsf:choose-metadata>

</gsf:link>

Changed 5 years ago by ak19

  • summary changed from GS2 hard coded {If} in metadata to GS2 hard coded {If} in metadata (DSpace, associated files)
Note: See TracTickets for help on using tickets.