"this field is required" message when importing a LEAP2A zip file

Bug #525632 reported by Shen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
1.6
Fix Released
Medium
Robert Lyon
1.7
Fix Released
Medium
Robert Lyon

Bug Description

When I tried to load a user by importing a LEAP2A zip file via "Add User" in the Admin section, I received an error message "this field is required", yet the LEAP2A option is selected and the zip file is loaded. Am I doing something wrong, or is there a bug here?

The mahara version that I have is 1.2.3. The server environment is Linux red hat, PostgresPlus 8.4.1, Apache 2.2.14, and PHP 5.2.9.

Tags: leap2a
Revision history for this message
Evan Goldenberg (naveg) wrote :

Shen,

I've heard of a similar problem from others previously, but I've been having trouble reproducing it myself. If I export a user to LEAP2A, and then import that file to create a new user, everything seems to work. Can you describe the steps taken that lead to this problem? It would be even better if you created a new test user, used that user's LEAP2A export for your investigation, and attached the file to this bug report so that we can try as well. Thanks a lot!

Cheers,
Evan

Revision history for this message
Craig Eves (craig-flexible) wrote : [Bug 525632] Re: "this field is required" message when importing a LEAP2A zip file

Hi Evan
 I think I got this message when I was importing an eportfolio that
contained details of an existing user.
 regards
 Craig
 ----- Original Message -----
 Subject: [Bug 525632] Re: "this field is required" message when
importing a LEAP2A zip file
 From: Evan Goldenberg
 To: <email address hidden>
 Date: 23/02/2010 10:15
 Shen,
 I've heard of a similar problem from others previously, but I've
been
 having trouble reproducing it myself. If I export a user to LEAP2A,
and
 then import that file to create a new user, everything seems to
work.
 Can you describe the steps taken that lead to this problem? It would
be
 even better if you created a new test user, used that user's LEAP2A
 export for your investigation, and attached the file to this bug
report
 so that we can try as well. Thanks a lot!
 Cheers,
 Evan
 --
 "this field is required" message when importing a LEAP2A zip file
 https://bugs.launchpad.net/bugs/525632
 You received this bug notification because you are subscribed to
Mahara.
 Status in Mahara ePortfolio: New
 Bug description:
 When I tried to load a user by importing a LEAP2A zip file via "Add
User" in the Admin section, I received an error message "this field
is required", yet the LEAP2A option is selected and the zip file is
loaded. Am I doing something wrong, or is there a bug here?
 The mahara version that I have is 1.2.3. The server environment is
Linux red hat, PostgresPlus 8.4.1, Apache 2.2.14, and PHP 5.2.9.

Revision history for this message
François Marier (fmarier) wrote :

Hi Shen,

If you email me (<email address hidden>) the zip file you are trying to import, I'll have a look for you and try to find out what the problem is.

Cheers,
Francois

Evan Goldenberg (naveg)
Changed in mahara:
assignee: nobody → François Marier (fmarier)
tags: added: leap2a
Changed in mahara:
assignee: François Marier (fmarier) → nobody
importance: Undecided → Medium
milestone: none → 1.3.0
Changed in mahara:
status: New → Triaged
Revision history for this message
Richard Mansfield (richard-mansfield) wrote :

Hi Shen,

Do you know if this bug is still present in 1.2.5?

Changed in mahara:
status: Triaged → Incomplete
Changed in mahara:
milestone: 1.3.0 → none
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
Revision history for this message
Robert Lyon (robertl-9) wrote :

I've encountered this problem as well and I believe the issue lies with the leap2a file trying to be imported is larger than the upload_max_filesize in php.ini as I was playing round with a leap2a file which imported fine and then changed the php setting to a lower number and the leap2a wouldn't import anymore.

Changed in mahara:
status: Expired → Confirmed
assignee: nobody → Robert Lyon (robertl-9)
milestone: none → 1.8.0rc1
Revision history for this message
Robert Lyon (robertl-9) wrote :

This is for Mahara 1.8 - but I suspect the problem exists for previous versions also

Revision history for this message
Robert Lyon (robertl-9) wrote :

Have added a patch that checks if the leap2a file upload choice has changed and therefore the problem is file too big rather than file missing

https://reviews.mahara.org/#/c/2505/

Changed in mahara:
status: Confirmed → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/2505
Committed: http://gitorious.org/mahara/mahara/commit/661ba1ad88bbb03c3cedd75bda471e87ee46f132
Submitter: Aaron Wells (<email address hidden>)
Branch: master

commit 661ba1ad88bbb03c3cedd75bda471e87ee46f132
Author: Robert Lyon <email address hidden>
Date: Wed Sep 18 09:11:10 2013 +1200

Leap2a file being bigger than upload_max_filesize bad error (bug #525632)

- when the importing of a too big leap2a file the form error message
was wrong

- have got it to give the 'file too big' message

Change-Id: Ied2770b057a4fd7c51cc71db98e43808139b5985
Signed-off-by: Robert Lyon <email address hidden>

Aaron Wells (u-aaronw)
Changed in mahara:
status: In Progress → Fix Committed
Aaron Wells (u-aaronw)
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Revision history for this message
Aaron Wells (u-aaronw) wrote :

Since Robert mentioned that this probably occurs in 1.7 and 1.6 as well, I'm marking it to be backported to them too.

Aaron Wells (u-aaronw)
Changed in mahara:
status: Fix Committed → Fix Released
Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/2664
Committed: http://gitorious.org/mahara/mahara/commit/ba71b68665638691e5a7509b303e0233749d8496
Submitter: Son Nguyen (<email address hidden>)
Branch: 1.7_STABLE

commit ba71b68665638691e5a7509b303e0233749d8496
Author: Robert Lyon <email address hidden>
Date: Wed Sep 18 09:11:10 2013 +1200

Leap2a file being bigger than upload_max_filesize bad error (bug #525632)

- when the importing of a too big leap2a file the form error message
was wrong

- have got it to give the 'file too big' message

Change-Id: Ied2770b057a4fd7c51cc71db98e43808139b5985
Signed-off-by: Robert Lyon <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/2663
Committed: http://gitorious.org/mahara/mahara/commit/6eb1507fb84b61907f84d0788e7a0a628aa84233
Submitter: Son Nguyen (<email address hidden>)
Branch: 1.6_STABLE

commit 6eb1507fb84b61907f84d0788e7a0a628aa84233
Author: Robert Lyon <email address hidden>
Date: Wed Sep 18 09:11:10 2013 +1200

Leap2a file being bigger than upload_max_filesize bad error (bug #525632)

- when the importing of a too big leap2a file the form error message
was wrong

- have got it to give the 'file too big' message

Change-Id: Ied2770b057a4fd7c51cc71db98e43808139b5985
Signed-off-by: Robert Lyon <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.