laminas-api-tools / api-tools

Laminas API Tools module for Laminas
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
37 stars 19 forks source link

Apigility Admin UI issue #32

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

Hi Zend Team,

Just a concerned developer reporting some bugs. After I update my vendor via composer (sudo php composer.phar update) I went to my created services and wanted to change the Hydrator Service but the drop down selection of Hydrator Service Name in the admin is not working (it became an input field) and not showing the other options like, Zend\Stdlib|Hydrator\ObjectProperty, Zend\Stdlib|Hydrator\ClassMethods, etc. Though I find a way to manually change the hydrator service by updating the codes in the module.config.php, I just can't sit here and not report this simple bug. :) By the way I'm currently using apigility 1.3.2

Cheers!


Originally posted by @JiNexus at https://github.com/zfcampus/zf-apigility/issues/158

michalbundyra commented 4 years ago

I can second this. Also using 1.3.2. I thought I had configured something incorrectly, or missed a step in the REST Service Tutorial, so I started from scratch, and tried a second time. Same results.

Under the General Settings tab, The Hydrator Service Name is initially populated, but whenever it's selected, the field becomes blank. I pasted Zend\Stdlib\Hydrator\ObjectProperty into the field, but tabbing to another field reverted it to the original value.

screenshot1 screenshot2


Originally posted by @swos- at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-198919766

michalbundyra commented 4 years ago

I have the same problem with Apigility 1.3.3


Originally posted by @Twister7 at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-201346128

michalbundyra commented 4 years ago

For what it's worth, I downloaded the 1.3.2 release from https://github.com/zfcampus/zf-apigility-skeleton/releases and it works at the documentation states it should. That is, the drop down menu populates with the list indicated, and it's possible to select the correct Hydrator.

(Once I got all that working I was able to interact with my test API! I'm really looking forward to using Apigility on projects in the future.)


Originally posted by @jaustin-ons at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-202097604

michalbundyra commented 4 years ago

I have this problem as well. I reverted to 1.3.1 and 1.3.2 neither or which fixed my issue. It may be tied to the admin ui.


Originally posted by @ImIOImI at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-215421235

michalbundyra commented 4 years ago

Just noticed that I can't add validation filters to a field... might be related

image


Originally posted by @ImIOImI at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-215439535

michalbundyra commented 4 years ago

I had the same issue, it seems apigility 1.3.3 doesn't like zend-hydrator version 1.1.0 After I added "zendframework/zend-hydrator": "1.0.0", in the composer.json it worked for me.


Originally posted by @TimoBos at https://github.com/zfcampus/zf-apigility/issues/158#issuecomment-215670666