KETTLE-4: Location of message bundles has hard coded assumptions about their path relative to a source

Metadata

Source
KETTLE-4
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2010-02-02T17:09:17.000-0500
Updated
2014-03-03T14:13:15.035-0500
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Location of message bundles has hard coded assumptions about their path relative to a source

Currently the code in fluid.kettle.getBundle appends this to the source

"../messages/messages_"params.lang".json"

Which forces it to go up one level from what the source was defined as. This has lead us to have to work around this by creating structures like this. (assuming the source is something like browseCatalogue/html/

browseCatalogue/
html/ <---- empty directory
messages/
messages_en.json
messages_fr.json

Comments

  • Justin Obara commented 2010-03-03T12:10:21.000-0500

    removed the empty html directories from the repository, as kettle now properly canonicalises the urls

  • Antranig Basman commented 2013-08-13T14:03:12.881-0400

    This facility is currently not present in "new new Kettle", but since the codebase affected by this issue has changed, this issue is being closed.