Webservice connection manager not showing 'add connection' form if no connection instances exist but a plugin has 'define_webservice_connections' function set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon | ||
17.04 |
Fix Released
|
High
|
Unassigned | ||
17.10 |
Fix Released
|
High
|
Robert Lyon |
Bug Description
To test this problem:
1) Edit a plugin file and add in the 'define_
eg edit artefact/
public static function define_
return array(
);
}
2) Go to webservice/
Before patch:
You should see 'Connection objects' expandable section that is empty but no form to add a new one
After patch:
You should see a form to add a new one placed above the 'Connection objects' expandable section
Changed in mahara: | |
status: | New → In Progress |
importance: | Undecided → High |
milestone: | none → 18.04.0 |
Changed in mahara: | |
milestone: | 18.04.0 → 17.10.0 |
assignee: | nobody → Robert Lyon (robertl-9) |
tags: | added: regression |
Reviewed: https:/ /reviews. mahara. org/8159 /git.mahara. org/mahara/ mahara/ commit/ 6aa412234dfb13e de969047712c55c 5d3f5e16b6
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 6aa412234dfb13e de969047712c55c 5d3f5e16b6
Author: Robert Lyon <email address hidden>
Date: Thu Oct 19 12:08:54 2017 +1300
Bug 1724704: The webservice connection manager 'Add' field missing
It only shows if there are existing connection objects
So will split out the add form from the objects list
behatnotneeded
Change-Id: Iec66f2a8a9bfb7 44b9673ee9a7972 46e1a59f420
Signed-off-by: Robert Lyon <email address hidden>