Project

General

Profile

Bug #50

Import DLOF export

Added by Stefaan Vanbillemont over 10 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
Normal
Target version:
Start date:
21/10/2009
Due date:
% Done:

100%

Estimated time:
Complexity:
Wizard-level

Description

The import of a DLOF export fails. I used the DLOF export that you can find in attachment.


Files

content_objects.dlof (3.44 MB) content_objects.dlof Stefaan Vanbillemont, 21/10/2009 15:04

History

#1

Updated by Stefaan Vanbillemont over 10 years ago

  • Status changed from New to Bug resolved

Small mistake ..

#2

Updated by Stefaan Vanbillemont over 10 years ago

  • Status changed from Bug resolved to New
#3

Updated by Sven Vanpoucke about 10 years ago

  • Assignee set to Sven Vanpoucke
#4

Updated by Sven Vanpoucke about 10 years ago

It can be uploaded if you put your max post size higher, however there is still a problem with the links.

#5

Updated by Sven Vanpoucke about 10 years ago

  • Status changed from New to Needs testing
  • Target version set to 2
  • % Done changed from 0 to 100

It seems like there were no included objects yet, but this is a bug that has only been fixed yesterday. Since it is a full repository i just removed a minor check that wasn't important anyway and now you still can restore your data (but without "includes", so you are able to delete your objects that are included in other objects)
http://websvn.chamilo.org/revision.php?repname=Chamilo&rev=23335

#6

Updated by Stefaan Vanbillemont about 10 years ago

  • Status changed from Needs testing to Bug resolved
#7

Updated by Yannick Warnier about 10 years ago

By getting the post_max_size from the PHP config (ini_get()) and putting it dynamically into the <form> with <INPUT TYPE="hidden" NAME="MAX_FILE_SIZE" VALUE="taille">, you get a browser-side check of the size of the file, which means that the user can be informed, at the time of pressing the "submit" button, that his file is too big and, as such, cannot be received by the server.

This does not work in all browsers (I think), but it has a few important advantages:
  • it does not load the server without reason
  • the user is informed before using his bandwidth to send the file
  • even if it doesn't work in one specific browser, you can always make sure it's alright at the server level
  • you can make this size dynamically depend on the PHP setting

We have implemented that in a few places (not all) in 1.8, and I think it would make sense to implement it at the quickform level in 2.0.

#8

Updated by Stefaan Vanbillemont almost 9 years ago

  • Project changed from Chamilo LCMS Connect to Repository
  • Category deleted (4)
#9

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version changed from 2 to 1.0.0

Also available in: Atom PDF