Issue Details (XML | Word | Printable)

Key: MDL-6856
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Some user-related tables aren't in backup/restore

Created: 06/Oct/06 01:35 AM   Updated: 04/Feb/08 08:53 AM
Return to search
Component/s: Backup
Affects Version/s: 1.7
Fix Version/s: 1.9

Participants: Eloy Lafuente (stronk7), Martin Dougiamas and Yu Zhang
Security Level: None
Resolved date: 04/Feb/08
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_19_STABLE


 Description  « Hide
I was checking MDL-6854 when I "discovered" some new tables:

- mdl_user_info_field
- mdl_user_info_category
- mdl_user_info_data

They seem to be there in order to support new field for the user profile (or something similar).

The question for this bug is... should all this information be supported by backup/restore? If not, NP. Else...

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Yu Zhang added a comment - 12/Oct/06 09:51 AM
If I remember correctly Shane said these fields won't be used in 1.7, but will be in for 1.8 ...

Martin Dougiamas added a comment - 16/Oct/06 11:26 AM
Bumping to 1.8

Martin Dougiamas added a comment - 21/Feb/07 09:30 PM
Shane, have you had any thoughts about how backup/restore could/should work?

I think we talked about this and decided that

  • it worked fine already on the same server
  • didn't make a lot of sense on another server

yes?


Martin Dougiamas added a comment - 23/Jan/08 05:19 PM
Thanks, Eloy! $

Eloy Lafuente (stronk7) added a comment - 30/Jan/08 10:02 AM
Oki, now both user profile fields and user tags are included in backup.

The strategy to restore (tomorrow) will be:

1-Only restore that info (both) when the user is being created.
2-Only restore user profile fileds if there is one profile field with the same name & type in destination server
3-Only restore user tags if tags are enable in destination server.

How does it sound? Ciao


Martin Dougiamas added a comment - 31/Jan/08 05:06 PM
Sounds perfect! +1 thanks!

Eloy Lafuente (stronk7) added a comment - 04/Feb/08 08:53 AM
Done, the logic above is now implemented in 19_STABLE and HEAD.

Closing. Ciao