Import for custom demographics not working?

Bug #944471 reported by Tom Hoffman on 2012-03-02
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Critical
Douglas Cerna

Bug Description

When I try to import student data from a Spreadsheet with personalized demografic data the system imports only the general information. How to import the hole set of personalized demografic data?
I am using SchoolTool 2.0.

See the rest of the question https://answers.launchpad.net/schooltool/+question/189192 for further details.

Changed in schooltool:
importance: Undecided → Critical
assignee: nobody → Alan Elkner (aelkner)
Carlos Ramires (cramires) wrote :

Friends, Here is the file I am trying to import

Changed in schooltool:
assignee: Alan Elkner (aelkner) → Douglas Cerna (replaceafill)
Carlos Ramires (cramires) wrote :

Here is the file exported. I just deleted Person data.

Douglas Cerna (replaceafill) wrote :

Carlos, I tried the XLS file you provided. I created the same custom demographics fields and the importer worked. I've attached a screenshot of the person view with the demographics fields set.

Douglas Cerna (replaceafill) wrote :

And this is how my /demographics view look like. Could you share yours? I want to see the types of your demographics fields.

Carlos Ramires (cramires) wrote :

Ithis is the file exported from the system. I just deleted private student data

Carlos Ramires (cramires) wrote :

This is how my demographics view look like. It is portuguese. Part 01

Carlos Ramires (cramires) wrote :

This is how my demographics view look like. It is portuguese. Part 02

Douglas Cerna (replaceafill) wrote :

Thanks Carlos, that helps. I'm creating a similar setup now. I notice all your fields are limited and most of them are required.

Just two things:

Could you please share the values of the "Como Soube da Vaga?" field? and

Could you please share a couple of rows from your new import sheet? The one you attached in comment #1 on this report seems outdated, you have new demographics fields now.

Thanks.

Douglas Cerna (replaceafill) wrote :

Carlos:

After setting up my demo fields similar to yours, I was able to see the issue. However in my case, the custom demographics data was imported, but it was not visible.

Since I imported only the Persons worksheet, I needed to place the people manually in the Students and Teachers group. After doing this, I was able to see the custom imported data for everybody.

From the XLS files you have shared, I see you do it (place people in the Students/Teachers groups) using the Groups worksheet. Can you confirm that?

Thanks.

Carlos Ramires (cramires) wrote :

Douglas,

Yes, I think you got the solution. If all you import are people and the demographics is only for students, then you need to include them to the student grupo to see the fields.

No, I did not change any other worksheet to import, only the People. I will test it.

Thank you very much.

Tom Hoffman (tom-hoffman) wrote :

Thanks for your patience in helping us get to the bottom of this, Carlos!

Carlos Ramires (cramires) wrote :

Douglas,

I imported the same file exported but modified and it worked. All the modifications came to the system.

My wrong procedure was to import only including new data at People without includ them to Group worksheet.

Thank you very much.

Carlos Ramires (cramires) wrote :

Douglas,

When I have tried import exactly the same file I have exported I received error messages like attached. To solve it I had to delete the worksheet School Timetables, and them it worked.

The system needed recognise days in Protuguese.

Thanks again,

Douglas Cerna (replaceafill) wrote :

Carlos,

Correct. It already has been reported at https://bugs.launchpad.net/schooltool/+bug/901267.

We'll try to fix it for the next release.

Changed in schooltool:
assignee: Douglas Cerna (replaceafill) → Alan Elkner (aelkner)
Changed in schooltool:
assignee: Alan Elkner (aelkner) → Douglas Cerna (replaceafill)
Douglas Cerna (replaceafill) wrote :

I changed the person index view to show all the demographics fields (rev 3394).

Now if persons are imported with limited demographics fields data, the fields will be shown in the person index view even if the person doesn't belong to any group.

Changed in schooltool:
status: New → Fix Committed
Changed in schooltool:
milestone: none → 1.6.2
milestone: 1.6.2 → 2.1.0
Changed in schooltool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions