Hi Joseph and Howard,
Thanks a lot for spending time and efforts to helping us to sort out this issue.
In context with the replies given by you on Friday, 18 May 2007, 06:08 PM and Saturday, 19 May 2007, 09:03 PM I would like to put on some points to the discussion:
Issue I:
First of all my sincere apology for handling the database in a Non - recommended way. However I was forced to do so due to the following consideration:
I had 600 records in my quiz databank which i needed to delete. I selected the option Show All 600 records in one page rather than 20 per page . I then selected all the 600 records by clicking on the Select All link and clicked on the Delete button, which redirected me to a new page asking me for a confirmation to delete with a Yes / No button. On clicking on Yes button, I got(am getting) an IE error The page cannot be displayed . On further investigation, it was found, that the URL at the time of delete was incomplete. The URL that occured in my case (at the time of deleting 600 records in a single attempt) was:
/a>http://viz006/mod/quiz/edit.php?courseid=1&sesskey=7sohO3PvMc&deleteselected=4572,4571,4570,4524,4523,4522,4521,4520, 4519,4518,4517,4516,4515,4514,4513,4512,4511,4510,4464,4463,4462,4461,4460,4459,4458, 4457,4456,4455,4454,4453,4452,4451,4450,4404,4403,4402,4401,4400,4399,4390,4391,4313, 4374,4334,4338,4342,4346,4350,4351,4352,4353,4354,4370,4371,4372,4373,4395,4397,4398, 4396,4393,4394,4392,4573,4574,4575,4576,4577,4578,4579,4580,4581,4582,4583,4584,4630, 4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4690,4691,4692,4693,4694,4695,4696,4697,4698,4699,4700,4701,4702,4703,4704,4705,4706,4707,4708,4709,4710,4711,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,4736,4737,4738,4739,4740,4741,4742,4743,4744,4745,4746,4747,4748,4749,4750,4751,4752,4753,4754,4755,4756,4757,4600,4759,4760,4761,4762,4763,4764,4990,4991,4992,4993,4994,4995,4996,4997,4998,4999,5000,5001,5002,5003,5004,5005,5006,5007,5008,5009,5010,5011,5012,5013,5014,5015,5016,5017,5018,5019,5020,5021,5022,5023,5024,5025,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5042,5043,5044,5045,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,4539,4538,4537,4536,4535,4534,4533,4532,4531,4530,4529,4528,4527,4526,4525,4479,4478,4477,4476,4475,4474,4473,4472,4471,4470,4469,4468,4467,4466,4465,4419,4418,4417,4416,4415,4414,4413,4412,4411,4410,4409,4408,4407,4406,4405,4379,4378,4377,4376,4375,4331,4335,4339,4343,4347,4355,4356,4357,4358,4359,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,4596,4597,4598,4599,4645,4646,4647,4648,4649,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4765,4766,4767,4768,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,4779,4780,4781,4782,4783,4784,4785,4786,4787,4788,4789,4790,4791,4792,4793,4794,4795,4796,4797,4798,4799,4800,4801,4802,4803,4804,4805,4806 ,
The above issue was faced by me in IE7.In case of Firefox, I did not faced this issue. The entire 600 questions got deleted in a single attempt. Please refer to the following URL for your immediate reference
http://www.boutell.com/newfaq/misc/urllength.html .
Issue 2:
It was then suggested by you to try again with the entire process with a precaution that no question is repeated together and none of the tags are left blank.
To that, I created a new XML file of 600 records with all different questions and then tried to import that newly created file. However, the issue of incomplete import still persists. I have attached the file for your reference.
Issue 3:
In my previous conversations with Howard, I was informed that in Moodle (v 1.8) the <text></text> tag for "questiontext" field cannot be left blank.
As per my requirements, I had customised my MOODLE setup. I had kept the usehtmltexteditor property to False . So when i proceed to add a new question, the Question Text textbox is shown blank. If the user don’t enter any text inside this textbox and click on Save Changes or Save as new question button (assuming that the user had entered all the mandatory fields marked in red), the question gets saved with a blank question text.
After that I exported this question to a new XML file (using the MOODLE XML Format). In that file the <text></text> tag for "questiontext" field was blank, since I did not enter anything in that text box at the time of editing/adding the question.
Now, the user imports this newly exported file, he gets an error message "Error importing question Missing question text in xml file " and the import process stops.
Summary : There is no validation for the "Question Text" field at the time of editing / adding a question, However at the time of import, the same field is being validated for blank condition.
Waiting for your reply in this context.
Kind Regards,
Pratik Shah