Opened 15 years ago

Closed 13 years ago

Last modified 12 years ago

#449 closed defect (fixed)

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 (4)

comment:1 by kjdon, 14 years ago

Milestone: Greenstone 3 wishlist3.05 Release

comment:2 by ak19, 13 years ago

Resolution: fixed
Status: newclosed

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

comment:3 by ak19, 13 years ago

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>

comment:4 by ak19, 12 years ago

Summary: GS2 hard coded {If} in metadataGS2 hard coded {If} in metadata (DSpace, associated files)
Note: See TracTickets for help on using tickets.