Menu

#419 FM cannot be used in unsigned Applets

2.3.22
closed-fixed
5
2015-02-28
2013-03-28
No

Things like this cause a problem: SecurityUtilities.getSystemProperty("freemarker.debug.password", "")
I had to change the following sources to get FM to work in my unsigned applet:
DebuggerServer.java about ln 90
DebuggerService.java ln 79
BeansWrapper.java ln 147
Configuration.java ln 139

Discussion

  • Dániel Dékány

    So I guess I should add a Configuration setting like "applet_mode". Should I?

     
  • Dániel Dékány

    Ticket moved from /p/freemarker/bugs/385/

     
  • Dániel Dékány

    The quoted line doesn't cause error, only logs a warning, as it has a default, exactly for the case when you have no permission to read system properties. At some other places, however, there was no default specified. I have fixed those in 2.3.22. I have tried it and it works in unsigned applets (just logs a few warnings on startup).

     
  • Dániel Dékány

    • assigned_to: Dániel Dékány
    • Group: --> 2.3.22
     
  • Dániel Dékány

    Ticket moved from /p/freemarker/feature-requests/98/

     
  • Dániel Dékány

    • status: open --> open-fixed
     
  • Dániel Dékány

    • Status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB