Opened 10 days ago

Closed 10 days ago

#2143 closed defect (fixed)

Exception when trying to change password or contact information

Reported by: nicklas Owned by: everyone
Priority: critical Milestone: BASE 3.14.1
Component: web Version:
Keywords: Cc:

Description

If a user goes to the BASE -> Change password or BASE -> Contact information dialog an error message is displayed:

Unable to compile class for JSP:

An error occurred at line: 74 in the jsp file: /my_base/user/settings.jsp
The method isUsingInternalAuthentication() is undefined for the type Application
71: final String title = "Information for " + HTML.encodeTags(user.getName());
72: final boolean writePermission = user.hasPermission(Permission.RESTRICTED_WRITE);
73: final String ifDisabled = writePermission ? "" : "disabled";
74: final String passwordDisabled = writePermission && Application.isUsingInternalAuthentication() ?
75: "" : "disabled";
76: dc.detachItem(user);
77: sc.setSessionSetting("user", user);


An error occurred at line: 208 in the jsp file: /my_base/user/settings.jsp
The method isUsingInternalAuthentication() is undefined for the type Application
205:
206: <t:tab id="password" title="Password" helpid="userpreferences.password">
207: <table class="fullform input100">
208: <% if (!Application.isUsingInternalAuthentication() && writePermission)
209: {
210: %>
211: <tr>

The problem seems to be the calls to the Application.isUsingInternalAuthentication(). This method was deprecated a long time ago and was removed in #2132 [7532].

Change History (1)

comment:1 Changed 10 days ago by nicklas

  • Resolution set to fixed
  • Status changed from new to closed

(In [7576]) Fixes #2143: Exception when trying to change password or contact information

Note: See TracTickets for help on using tickets.