Reviewed: https://reviews.mahara.org/6112 Committed: https://git.mahara.org/mahara/mahara/commit/936e760cf0835e14ae6f6964a2af8fb12077234a Submitter: Son Nguyen ([email protected]) Branch: master
commit 936e760cf0835e14ae6f6964a2af8fb12077234a Author: Robert Lyon <[email protected]> Date: Mon Mar 7 10:58:18 2016 +1300 Bug 1553812: Passing in view id as 'view' both times For when we open the imagebrowser in text block and when we upload a file within that text block's image config form behatnotneeded Change-Id: Ic8e0efeb969a63a9764726c6fb42e3b5008b46fd Signed-off-by: Robert Lyon <[email protected]> -- 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/1553812 Title: ImageBrowser json failing to get right view id on upload Status in Mahara: In Progress Bug description: When we add a text block to a page and click the image icon to add an image it passes the view id to the ImageBrowser object from the 'id' parameter. But when we go to upload an image in the 'Insert or select an image ' config popup it passes the view id with 'view' parameter. In core mahara this causes no issue, but is wrong. In a custom site where the View construct does some extra checking it breaks things as on upload the view id is being passed in as 0, rather the correct id. We need to get the initial popup to pass in the view id as 'view' rather than 'id' so that the json file can handle the information correctly To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1553812/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

