[TIME-171] gadget problem

Issue #171 duplicate
Andriy Zhdanov created an issue

Hi,

When I try to add a gadget on a dashboard, I have some problems, please look at the attachment

Can anyone help ?

By slamy/Sebastien LAMY on Wed, 24 Aug 2011 05:50:40 -0700

Comments (12)

  1. Andriy Zhdanov reporter

    Please see recent issue #150 "[TIME-150] Localization strings are not replaced" (it refers to issue #148 "[TIME-148] JIRA Timesheet Plugin GADGET doesn't support SSL?"), it may help.

    By azhdanov on Thu, 25 Aug 2011 09:34:28 -0700

  2. Andriy Zhdanov reporter

    Thanks, but I don't use SSL not Windows, and nothing in the logs.

    I did not remove any language on JIRA.
    For information, it's the only gadget whicch has this issue

    By slamy on Thu, 25 Aug 2011 23:22:58 -0700

  3. Andriy Zhdanov reporter

    Please see issue #150 "[TIME-150] Localization strings are not replaced":

    I've just added ALL.properties, unfortunately I decided not to remove ALL_ALL.xml and referencing it from gadget.xml, because it does not work for me that way, and you can see similar comment here: http://confluence.atlassian.com/display/DEVNET/Plugin+Gadget+Tutorial+-+Writing+a+Gadget+that+Displays+the+Days+Left+in+a+Version?focusedCommentId=229836274#comment-229836274

    Please try updated plugin jar and let me know.

    Committed revision 163385

    Thank you.

    By azhdanov on Mon, 29 Aug 2011 09:54:25 -0700

  4. Andriy Zhdanov reporter

    Hi,

    I use JIRA 4.3.4 and this version seems not working.
    I have this message now :
    Error loading gadget from rest/gadgets/1.0/g/jira-timesheet-plugin:group-timesheet-gadget/group-timesheet-gadget.xml: org.apache.shindig.gadgets.GadgetException: Unable to retrieve gadget xml. HTTP error 504

    and many java error on the logs :

    2011-08-30 08:23:07,211 main ERROR atlassian.plugin.manager.DefaultPluginManager There was an error loading the descriptor 'Timesheet Report' of plugin 'jira-timesheet-plugin'. Disabling.
    com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: com.fdu.jira.plugin.report.timesheet.TimeSheet. Missing class: com/atlassian/jira/datetime/DateTimeFormatterFactory

    Caused by: java.lang.ClassNotFoundException: com.atlassian.jira.datetime.DateTimeFormatterFactory
    at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:772)
    at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)
    at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

    By slamy on Mon, 29 Aug 2011 23:26:22 -0700

  5. Andriy Zhdanov reporter

    Hi Sebastien,

    Sorry for confusion, I've added the fix for this problem to plugin version 2.2, and apparently you've used that one, which is for Jira 4.4 only, for Jira 4.3 you should use plugin version 2.1. Now, please remove plugin 2.2 and install 2.1, make sure it is really removed from file system. Then please update plugin version 2.1, it has the fix now too.

    // Committed revision 163395

    Thank you.

    By azhdanov on Tue, 30 Aug 2011 04:22:26 -0700

  6. Andriy Zhdanov reporter

    Hi,

    I just did it, and I have exactly the same issue,

    Sebastien

    By slamy on Tue, 30 Aug 2011 04:37:20 -0700

  7. Andriy Zhdanov reporter

    You mean DateTimeFormatterFactory class not found?

    By azhdanov on Tue, 30 Aug 2011 04:45:37 -0700

  8. Andriy Zhdanov reporter

    no,

    like my first post,

    _MSG_gadget.pref.label.num_weeks_ field.required
    _MSG_gadget.pref.label.reporting_day_ field.required
    _MSG_gadget.pref.label.project_
    _MSG_gadget.pref.label.filter_
    _MSG_gadget.pref.label.group_

    By slamy on Tue, 30 Aug 2011 04:57:15 -0700

  9. Andriy Zhdanov reporter

    Sebastien, please try again 2.1, it must be fixed now in issue #150 "[TIME-150] Localization strings are not replaced".

    By azhdanov on Tue, 30 Aug 2011 08:10:23 -0700

  10. Andriy Zhdanov reporter

    Hi,

    it almost work, thanks.

    The last thing is Reporting day: field.required which print this :

    _MSG_gadget.timesheet.today_
    _MSG_gadget.timesheet.Monday_
    _MSG_gadget.timesheet.Tuesday_
    _MSG_gadget.timesheet.Wednesday_
    _MSG_gadget.timesheet.Thursday_
    _MSG_gadget.timesheet.Friday_
    _MSG_gadget.timesheet.Saturday_
    _MSG_gadget.timesheet.Sunday_

    all the other fields are working

    By slamy on Tue, 30 Aug 2011 23:12:21 -0700

  11. Andriy Zhdanov reporter

    ok, my fault

    it works perfectly,

    thanks !!!!

    By slamy on Tue, 30 Aug 2011 23:41:26 -0700

  12. Log in to comment