Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Unknown
-
Labels:None
-
Environment:Moodle Version: 1.9.2
PhP Version: 5.2.6
Server: Windows NT LMS 5.2 Build 3790
-
Affected Branches:MOODLE_19_STABLE
Description
I have been working on getting the edit profile picture to work. This is what I have found so far.
1. I had a picture displayed in my profile.
2. When you delete your picture, the picture is deleted from the user folder.
3. When you try to add a new picture back, it displays the old picture instead of the new picture in the user folder.
4. Also, it does not change the picture field from 0 to 1 in the user table.
I found some code in the user/editadvanced_form.php and user/editadvanced that were not the same as other Moodle versions.
I am using Moodle version 1.9.2 . For the life of me, I can't figure out where it is storing the old picture that it is displaying. Can someone tell me which files to review?
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-17132 | Can't set some student photo |
|
|
|
I think this may be a cacheing issue after reading some of the tracker comments. do you think so?
I did have to make some code changes in editadvanced_form to get it to work though.
See code lines 58 and 96 and 97 I am attaching the updated file for your review.