← Back to team overview

mahara-contributors team mailing list archive

[Bug 1173440] [NEW] updating group fails fatally under certain conditions

 

Public bug reported:

General Info:
--------------
- Mahara 1.6.4
- PostgreSQL 8.4.12
- PHP 5.3.10
- RHEL  5.8

Browser Info:
---------------
- Chrome 26, Firefox 20 (Win), latest Safari on Mac as well.

Other:
--------
Mahara is configured with clean-URLs turned on.

Description:
--------------
Saving a group after editing fails.

After submitting the "Edit group" form, the user gets thrown to an error
page. The error message reads:

    Mahara: Site unavailable
    A nonrecoverable error occurred. This probably means you have encountered a bug in the system

Apparently, Mahara is unable to recover from a failed attempt to update
a record in the database. (please see attached error log).

This only happens under very specific conditions, and seems to be
connected to clean URL mode.

To reproduce:

1. turn off clean URL mode in the Mahara configuration.
2. create a two groups (group A and group B). Observe that the "urlid" field in these records have NULL values.
3. turn clean URL mode back on.
4. open Group A for editing. Make a change, but leave the "Group homepage URL" in the input form empty. Hit the "save group" button.
5. open Group B for editing. Make a change, but leave the  "Group homepage URL" in the input form empty as well. "Hit "save group". **error occurs**

** Affects: mahara
     Importance: Undecided
         Status: New

** Attachment added: "apache error log excerpt"
   https://bugs.launchpad.net/bugs/1173440/+attachment/3655512/+files/error_log.txt

** Description changed:

  General Info:
  --------------
  - Mahara 1.6.4
  - PostgreSQL 8.4.12
  - PHP 5.3.10
  - RHEL  5.8
  
  Browser Info:
  ---------------
- - Chrome 26.0, Firefox 
+ - Chrome 26, Firefox 20 (Win), latest Safari on Mac as well.
  
  Other:
  --------
  Mahara is configured with clean-URLs turned on.
  
  Description:
  --------------
  Updating an existing group record fails.
  
- After submitting the "Edit group" form, the user gets thrown to an error page. The error message reads:
-     
-     Mahara: Site unavailable
-     A nonrecoverable error occurred. This probably means you have encountered a bug in the system
+ After submitting the "Edit group" form, the user gets thrown to an error
+ page. The error message reads:
+ 
+     Mahara: Site unavailable
+     A nonrecoverable error occurred. This probably means you have encountered a bug in the system
  
  Apparently, Mahara is unable to recover from a failed attempt to update
  a record in the database. (please see attached error log).
  
  This only happens under very specific conditions, and seems to be
  connected to clean URL mode.
  
  To reproduce:
  
  1. turn off clean URL mode in the Mahara configuration.
  2. create a two groups (group A and group B). Observe that the "urlid" field in these records have NULL values.
  3. turn clean URL mode back on.
  4. open Group A for editing. Make a change, but leave the "Group homepage URL" in the input form empty. Hit the "save group" button.
  5. open Group B for editing. Make a change, but leave the  "Group homepage URL" in the input form empty as well. "Hit "save group". **error occurs**

** Description changed:

  General Info:
  --------------
  - Mahara 1.6.4
  - PostgreSQL 8.4.12
  - PHP 5.3.10
  - RHEL  5.8
  
  Browser Info:
  ---------------
  - Chrome 26, Firefox 20 (Win), latest Safari on Mac as well.
  
  Other:
  --------
  Mahara is configured with clean-URLs turned on.
  
  Description:
  --------------
- Updating an existing group record fails.
+ Saving a group after editing fails.
  
  After submitting the "Edit group" form, the user gets thrown to an error
  page. The error message reads:
  
      Mahara: Site unavailable
      A nonrecoverable error occurred. This probably means you have encountered a bug in the system
  
  Apparently, Mahara is unable to recover from a failed attempt to update
  a record in the database. (please see attached error log).
  
  This only happens under very specific conditions, and seems to be
  connected to clean URL mode.
  
  To reproduce:
  
  1. turn off clean URL mode in the Mahara configuration.
  2. create a two groups (group A and group B). Observe that the "urlid" field in these records have NULL values.
  3. turn clean URL mode back on.
  4. open Group A for editing. Make a change, but leave the "Group homepage URL" in the input form empty. Hit the "save group" button.
  5. open Group B for editing. Make a change, but leave the  "Group homepage URL" in the input form empty as well. "Hit "save group". **error occurs**

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1173440

Title:
  updating group fails fatally under certain conditions

Status in Mahara ePortfolio:
  New

Bug description:
  General Info:
  --------------
  - Mahara 1.6.4
  - PostgreSQL 8.4.12
  - PHP 5.3.10
  - RHEL  5.8

  Browser Info:
  ---------------
  - Chrome 26, Firefox 20 (Win), latest Safari on Mac as well.

  Other:
  --------
  Mahara is configured with clean-URLs turned on.

  Description:
  --------------
  Saving a group after editing fails.

  After submitting the "Edit group" form, the user gets thrown to an
  error page. The error message reads:

      Mahara: Site unavailable
      A nonrecoverable error occurred. This probably means you have encountered a bug in the system

  Apparently, Mahara is unable to recover from a failed attempt to
  update a record in the database. (please see attached error log).

  This only happens under very specific conditions, and seems to be
  connected to clean URL mode.

  To reproduce:

  1. turn off clean URL mode in the Mahara configuration.
  2. create a two groups (group A and group B). Observe that the "urlid" field in these records have NULL values.
  3. turn clean URL mode back on.
  4. open Group A for editing. Make a change, but leave the "Group homepage URL" in the input form empty. Hit the "save group" button.
  5. open Group B for editing. Make a change, but leave the  "Group homepage URL" in the input form empty as well. "Hit "save group". **error occurs**

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1173440/+subscriptions


Follow ups

References