[Bug 491906] Re: Zekr Quran study tool loads and then promptly crashes
SevenMachines
SevenMachines at yahoo.co.uk
Thu Jan 14 01:11:59 UTC 2010
it might be a little hacky but it certainly seems to work on
0.5.1.dfsg-1.1ubuntu1. sadly i've no idea how to debdiff a patch for a
jar file (dist/zeka-src.jar)
diff -ruN net.old/sf/zekr/engine/theme/TemplateEngine.java net/sf/zekr/engine/theme/TemplateEngine.java
--- net.old/sf/zekr/engine/theme/TemplateEngine.java 2010-01-14 01:04:42.322704592 +0000
+++ net/sf/zekr/engine/theme/TemplateEngine.java 2010-01-14 01:04:31.552706377 +0000
@@ -112,6 +112,9 @@
public String getUpdated(String name) throws Exception {^M
template = Velocity.getTemplate(name);^M
Writer writer = new StringWriter();^M
+ if (context == null){^M
+ context = new VelocityContext();^M
+ }^M
template.merge(context, writer);^M
return writer.toString();^M
}^M
--
Zekr Quran study tool loads and then promptly crashes
https://bugs.launchpad.net/bugs/491906
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list