← Back to team overview

mahara-contributors team mailing list archive

[Bug 1545374] A change has been merged

 

Reviewed:  https://reviews.mahara.org/6062
Committed: https://git.mahara.org/mahara/mahara/commit/346ccd5a9a87567934859b9eb6f47cfcf74637f4
Submitter: Son Nguyen (son.nguyen@xxxxxxxxxxxxxxx)
Branch:    master

commit 346ccd5a9a87567934859b9eb6f47cfcf74637f4
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Mon Feb 15 16:22:01 2016 +1300

Bug 1545374: Form to ignore 'wstoken' value when cancelling

When we click cancel on the form when testing 'token' auth
we don't care if 'wstoken' is set or not so we will ignore trying to
get it via param_alphanum()

Also fixing for wsusername and wspassword when testing 'user' auth

behatnotneeded

Change-Id: I8a690a7497681be27667dec5ec2ce20a5023a37e
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1545374

Title:
  Error message when clicking "Cancel" in web services test client

Status in Mahara:
  Fix Committed

Bug description:
  Mahara 15.10+

  When you are on the web services test client's last page and see the
  "wstoken" and you click "Cancel", you get the following error message
  instead of getting back to the start page for the test client:

  Mahara: Invalid Parameter
  A required parameter is missing or malformed

  The 'wstoken' parameter is not alphanumeric only

  Steps to reproduce:

  1. Choose a protocol.
  2. Choose an auth type. 
  3. Click the *Next* button.
  4. Choose the service group that you want to test. 
  5. Click the *Next* button.
  6. Select the function that you want to include in your test. 
  7. Click the *Next* button.
  8. Instead of "Execute", click "Cancel".

  Expected result: Be taken to the beginning of the web services test.
  Actual result: Above error message.

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


References