mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #66353
[Bug 1971110] [NEW] Adding block with underscore can cause problems
Public bug reported:
The following test will give an error:
1) Create a new page
2) Add a new block
3) Change the 'Placeholder' title to 'Text_block'
4) Click on the Content type option 'Text'
5) Get an error like this:
Invalid page control action: id_X_new_1_blocktype_text_title_Text_block
The problem is the underscore in the title clashes with code that wants
to work out what blocktype action is happening.
What we need to do is have the all the underscores in the title be
turned into a url encoded values
** Affects: mahara
Importance: High
Status: Confirmed
** Affects: mahara/21.04
Importance: High
Status: Confirmed
** Affects: mahara/21.10
Importance: High
Status: Confirmed
** Affects: mahara/22.04
Importance: High
Status: Confirmed
** Affects: mahara/22.10
Importance: High
Status: In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1971110
Title:
Adding block with underscore can cause problems
Status in Mahara:
Confirmed
Status in Mahara 21.04 series:
Confirmed
Status in Mahara 21.10 series:
Confirmed
Status in Mahara 22.04 series:
Confirmed
Status in Mahara 22.10 series:
In Progress
Bug description:
The following test will give an error:
1) Create a new page
2) Add a new block
3) Change the 'Placeholder' title to 'Text_block'
4) Click on the Content type option 'Text'
5) Get an error like this:
Invalid page control action:
id_X_new_1_blocktype_text_title_Text_block
The problem is the underscore in the title clashes with code that
wants to work out what blocktype action is happening.
What we need to do is have the all the underscores in the title be
turned into a url encoded values
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1971110/+subscriptions
Follow ups
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Doris Tam, 2022-11-01
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Kristina Hoeppner, 2022-05-05
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Gold, 2022-05-02
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Robert Lyon, 2022-05-02
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Doris Tam, 2022-05-02
-
[Bug 1971110] A change has been merged
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Kristina Hoeppner, 2022-05-01
-
[Bug 1971110] A change has been merged
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A change has been merged
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A change has been merged
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A patch has been submitted for review
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A patch has been submitted for review
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A patch has been submitted for review
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A patch has been submitted for review
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] A change has been merged
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Kristina Hoeppner, 2022-05-01
-
[Bug 1971110] A patch has been submitted for review
From: Mahara Bot, 2022-05-01
-
[Bug 1971110] Re: Adding block with underscore can cause problems
From: Robert Lyon, 2022-05-01