Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-45100

GB, T&Q: util.ResourceLoader.getString bundle 'gradebookng' missing key: 'AutoLabel.CSS.disabled'

    XMLWordPrintable

    Details

    • 21 Status:
      Verified
    • 20 status:
      Verified
    • Test Plan:
      Hide

      I believe this test needs to be done after a refresh / cleared db, but can't say for certain. I saw the GB missing key error when adding a quiz to the GB for the very first time.

      1. Open the server logs in a different window
      2. Create a quiz
      3. Add a question
      4. Click on Settings > Grading and Feedback
      5. Check "Send assessment score to Gradebook immediately" and publish the quiz
      6. Look at the server logs - there should be no stacktrace
      7. Click on Gradebook and select "Edit Item Details" for the quiz GB item
      8. Check the extra credit box, or uncheck "Release item..." or "Include item..."
      9. Check the server logs - there should be no stacktrace
      Show
      I believe this test needs to be done after a refresh / cleared db, but can't say for certain. I saw the GB missing key error when adding a quiz to the GB for the very first time. Open the server logs in a different window Create a quiz Add a question Click on Settings > Grading and Feedback Check "Send assessment score to Gradebook immediately" and publish the quiz Look at the server logs - there should be no stacktrace Click on Gradebook and select "Edit Item Details" for the quiz GB item Check the extra credit box, or uncheck "Release item..." or "Include item..." Check the server logs - there should be no stacktrace

      Description

      I'm attaching the info from trunk starting when I added the quiz to the Gradebook. There is a stacktrace ike this on 21x also. I was attempting to verify SAK-44217 on 21x and ran into issues, so tested on trunk. The stacktrace displays right after adding a quiz to the gradebook, then editing the GB item (checking/unchecking options).

      I had cleared the browser cache when I started testing. I also think these errors only display the very first time a quiz gets sent to the GB. I tried to reproduce with the same instructor, then with another instructor, and while I keep seeing the "Line 13" warnings, I do not see the stacktrace and error from "Line 15". 

      Line 13: (SAK-45099) 28-Feb-2021 16:06:19.043 WARN [http-nio-20013-exec-11]  org.apache.wicket.Localizer.getStringIgnoreSettings Tried to retrieve a localized string for a component that has not yet been added to the page. This can sometimes lead to an invalid or no localized resource returned. Make sure you are not calling Component#getString() inside your Component's constructor. Offending component: [AddOrEditGradeItemPanelContent [Component id = subComponents]]

       

      Line 15: 28-Feb-2021 16:06:19.079 WARN [http-nio-20013-exec-11] org.sakaiproject.util.ResourceLoader.getString bundle 'gradebookng' missing key: 'AutoLabel.CSS.disabled' from:

      java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key AutoLabel.CSS.disabled

        Gliffy Diagrams

          Zeplin

            Attachments

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                agschmidt Andrea Schmidt
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Git Integration