[Sakai Jira] Assigned: (SAKIII-2475) [Probable bug] Profile updating fails when there are non-editable fields

Chris Roby (JIRA) sakai-ui-dev-tracking at collab.sakaiproject.org
Fri Feb 25 15:27:59 PST 2011


     [ https://jira.sakaiproject.org/browse/SAKIII-2475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Roby reassigned SAKIII-2475:
----------------------------------

    Assignee: Stuart Freeman

> [Probable bug] Profile updating fails when there are non-editable fields
> ------------------------------------------------------------------------
>
>                 Key: SAKIII-2475
>                 URL: https://jira.sakaiproject.org/browse/SAKIII-2475
>             Project: Sakai 3 UI Dev
>          Issue Type: Bug
>          Components: Profile
>    Affects Versions: Sprint 103: Stabilization and QA
>         Environment: MacOS, Firefox 3.6.12
>            Reporter: Roman Shumikhin
>            Assignee: Stuart Freeman
>
> While working on myBerkeley we have noticed that profile saving fails when you have a field whose "editable" property is set to false.
> config.Profile.configuration.defaultConfig.basic.elements = {
>         "firstName": {
>             "label": "__MSG__PROFILE_BASIC_FIRSTNAME_LABEL__",
>             "required": true,
>             "display": true,
>             "editable": false,      <-------- HERE -------
>             "limitDisplayLength": 50
>         },
> 		...
> 		...
> }
> The following error is displayed in Firebug console:
> $selected_element.attr("id").split("profilesection_generalinfo_")[1] is undefined
> http://localhost:8080/devwidgets/profilesection/javascript/profilesection.js
> Line 413
> The code expects spans having the id attribute, but the span element generated when "editable" equals false doesn't have this attribute.
> Could somebody please try making one of the profile fields non-editable and try updating the profile?
> If updating fails you might have the same bug in OAE.
> Please check the 'profilesection_field_default_template' in /devwidgets/profilesection/profilesection.html

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the sakai-ui-dev-tracking mailing list