Javascript issue on /view/blocks.php

Bug #1053712 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Won't Fix
Medium
Son Nguyen

Bug Description

Version: master
Platform: all
Browser: Javascript turned off

Issues:
 - A warning when click 'Configuration' button of a block

[WAR] 65 (lib/pieforms/pieform.php:1408) Pieform element instconf_appsid wants to add headdata to the page, but it's too late. Build your form before generating the page.
Call stack (most recent first):
log_message("Pieform element instconf_appsid wants to add headd...", 8, true, true) at /home/sonn/code/mahara/htdocs/lib/errors.php:109
log_warn("Pieform element instconf_appsid wants to add headd...") at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:1408
Pieform->build_element_html(array(size 16)) at /home/sonn/code/mahara/htdocs/lib/pieforms/pieform.php:659
Pieform->build() at /home/sonn/code/mahara/htdocs/blocktype/lib.php:879
BlockInstance->build_configure_form(false) at /home/sonn/code/mahara/htdocs/blocktype/lib.php:628
BlockInstance->render_editing(true) at /home/sonn/code/mahara/htdocs/view/blocks.php:248

Tags: javascript
Son Nguyen (ngson2000)
Changed in mahara:
status: New → Triaged
importance: Undecided → Low
importance: Low → High
Son Nguyen (ngson2000)
description: updated
Revision history for this message
Son Nguyen (ngson2000) wrote :

After the PHP warning is fixed, these issues have been found

In the configuration box:
 - The 'close' button does not work

Many buttons in several blocktype configure boxes don't work. These issues will be reported in different bugs

Revision history for this message
Son Nguyen (ngson2000) wrote :

There a mistake in the last comment:

In the configuration box:
 - The 'remove' button does not work (not close)

Revision history for this message
Son Nguyen (ngson2000) wrote :
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: Triaged → In Progress
Revision history for this message
Son Nguyen (ngson2000) wrote :

Test cases

To access this page
1. Login as an user
2. On the main menu, click Portfolio/Pages
3. If you dont have a page, create one
4. If yes click 'Edit' button.

Make sure all information are correct and buttons work properly.
Please ignore other buttons in the configuration box.

Revision history for this message
Melissa Draper (melissa) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 milestone 1.8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQIcBAEBAgAGBQJRIwvSAAoJEJHQT0Mtn5aHiTAQAMvv3UB+Std5sp7MNLJisIWM
F3w5pbCldLn86j6IA8nIGNAqebAOLiQ3AW3a5zO1LZ3lHy3Yp8En4sIPSOkF2U8L
6U/DF9pDo/z7cuo+GhtlgRe7oUyklpWNjgsF4/yw8ppYLuQ6eLgQiopyuZX6N7+a
NTQfXknHZIIEe4XhWmV2b9GGVF4Mhg1RUshsJe5/FvvC9ybXV+TTL/8HfFcdVL8e
lJfqu6Kjf4ueyp5dUXtHkh+GArjmT+O6j+bFRgR9rpvS4140JZimj05ZvjWzb6oS
zYgtyNap/T0rcyZP/upNweEhaWGAdJAMoO+GOIcSMDgTdWaAXyLlEgVfFOhx2IhT
sH6Dfuld4bCRsRLcrQwpKwcOB9xEYleCAXSeaZsVry9rfj2LWcrXzrBhPDsa7JQ0
qcPzymGh8kHHpVJPuaX3ztyaKPdS4jP8mz6CGnTwZ2ot2dDbbMBal4fkZfQ4j/cR
j1V9Q6HBU9RkcjXvcGFvYyA9HPMPVETQyx9mu/KYVtGf88Y9ucLlflQDsPskhZdQ
H8l9vEzdJLURAyq/YXKdrR14g9OgA+aqIWIO2E1YhjSO2kUAMBeRFjU/FEhftxPw
DkoR86wtix4QHeStPaA9PyPA1X825tdRQ9itqpBqbIgkKpD1Ue6hzf0aOvKX8+FJ
NSqftjUQEqadBbaQTqkP
=t4IF
-----END PGP SIGNATURE-----

Robert Lyon (robertl-9)
Changed in mahara:
importance: High → Medium
Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

The patch was abandonded because we'll always have Javascript enabled.

Changed in mahara:
status: In Progress → Won't Fix
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.