Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Repair Jira Macros

...

<div class="float">
<img src="images/image01.gif"
alt="image 1" />
<div class="caption">Yellow Blue </div>

</div>
{code:

Frankly, this is

...

far

...

simpler than the table layout, though personally I like the table layout.
Added a new CCS file called images.css provided by Seamus.

Files changed to fix GAL-6:

...

  • main.html

...

  • MainProducer.java

...

  • images.css

Next up is showing instructions when a site has the Gallery Tool, but no Resources tool,

...

Jira Legacy

...

GAL-4

...

...

GAL-

...

4
.
Confirmed the problem by created the "No Resources" site. Selecting the Gallery Tool in this site gives:

...

}NullPointerExceptionSuccessive {warning
Warning

Fatal internal error handling request:
Target exception of class java.lang.

NullPointerException
Successive lines until stack trace show causes progressing to exception site:

java.lang.NullPointerException
at org.sakaiproject.gallery.impl.GalleryServiceImpl.getCollections(GalleryServiceImpl.java:141)
at org.sakaiproject.gallery.tool.MainProducer.fillComponents(MainProducer.java:144)
at uk.org.ponder.rsf.view.ViewCollector.fillComponents(ViewCollector.java:52)

Made initGallery() public in GalleryService. Added a testable flag to see if it is intialized. Fixed implementations of service to check it.
Added a new message in Message Bundle to hold instructions provided by Seamus. It looks a bit ugly, but whatever.

...