Getting fields through webservice on configuration plugins tab returns no fields
Getting fields through webservice on configuration plugins tab returns no fields
Webservice and subtabs are not working correctly together.
Link issues together to show that they're related. Learn more.
Activity
- Côme Chilliet changed milestone to %FusionDirectory 1.4
changed milestone to %FusionDirectory 1.4
- Côme Chilliet added PJ1802-0188 plugin-webservice labels
added PJ1802-0188 plugin-webservice labels
- Author Reporter
We have 3 cases of subtabs in FusionDirectory:
- Services in servicesManagement, this is a really specific case which should be left alone, and a specific webservice endpoint should be added if these needs to be accessed through it.
- Fuse modules in "Argonaut Fuse" service, this is because each one can be (de)activated. It could be replaced by a combination of
ObjectClassBooleanAttribute
and managed attributes. It does not use multiPlugin and is highly specific. - Plugins small configuration sections in configuration Plugins tab.
(3) is the only use of multiPlugin class. It does not integrate correctly with the webservice.
I think we should modify multiPlugin to make it simpler and closer to simplePlugin behavior so that it integrates better. The idea is to switch ownership of all attributes and sections to multiPlugin instance right after constructor, and behave like a normal simplePlugin instance afterwards. This means that smallConfig classes will not be able to have code outside of constructor/getAttributesInfo, but none of them do anyway.
Once this is done the multiPlugin tab should behave fine through webservice without any modification to the webservice code.
- Côme Chilliet mentioned in issue fd#6166 (closed)
mentioned in issue fd#6166 (closed)
- Côme Chilliet mentioned in commit 75872989
mentioned in commit 75872989
- Côme Chilliet mentioned in commit 72716414
mentioned in commit 72716414
- Côme Chilliet added 3h of time spent at 2021-06-03
added 3h of time spent at 2021-06-03
- Côme Chilliet marked this issue as related to fd#6166 (closed)
marked this issue as related to fd#6166 (closed)
- Côme Chilliet mentioned in commit 2d6d6588
mentioned in commit 2d6d6588
- Côme Chilliet added 30m of time spent
added 30m of time spent
- Côme Chilliet added To Be Tested label
added To Be Tested label
hello @cchilliet , What are the test we can do to check this, plase give some exemple
Cheers
- bmortier added 5m of time spent
added 5m of time spent
- bmortier changed due date to August 05, 2021
changed due date to August 05, 2021
- Author Reporter
@bmortier Checking that
GET /fusiondirectory/rest.php/v1/types/configuration/pluginsConfigInLdap
correctly returns section and fields list.I just tested on my local instance and it works fine, if that is enough for you we can close this.
- Côme Chilliet added 5m of time spent
added 5m of time spent
- bmortier removed due date
removed due date
@cchilliet ok
- bmortier closed
closed
- bmortier removed To Be Tested label
removed To Be Tested label