onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

P#48307 Remove unsupported data types - Data types still visible in some lists #151

Closed michaelarnold-dev closed 2 years ago

michaelarnold-dev commented 2 years ago

Original remark: For me with version 2.14.1-8-g0326ab32 installed, the data types mentioned in the requirements are all still displayed for the address list, property list and unit list. Everything is OK with all other lists and forms, the data types have all been removed.

Requirement: Separator line, black hint, red hint, file and user are no longer selectable in the configuration for any list or form in the backend.

=> For forms the error is fixed, but I can confirm that the fields are still shown for address and estate views (and probably unit lists)

https://user-images.githubusercontent.com/77264788/145575848-60d8629f-2d4d-4a28-b7c5-e57ef1730871.mp4

Data_types_propery_list .

tung-le-esg commented 2 years ago

I will check it

nglelinh commented 2 years ago

@michaelarnold-dev the data type returns from onOffice API is now as TEXT, which is not correct. Please check again with the API team

image

nglelinh commented 2 years ago

api_return_type_data api_return_type_fail beta_13809-edit More details here please. The type should be as in the UI - red hint or black hint

nglelinh commented 2 years ago

and here is the request details @michaelarnold-dev

object(onOffice\SDK\internal\HttpFetch)#1736 (3) {
  ["_url":"onOffice\SDK\internal\HttpFetch":private]=>
  string(42) "https://api.onoffice.de/api/latest/api.php"
  ["_postData":"onOffice\SDK\internal\HttpFetch":private]=>
  string(388) "{"token":"xxxx","request":{"actions":[{"actionid":"urn:onoffice-de-ns:smart:2.5:smartml:action:get","identifier":null,"parameters":{"labels":true,"language":"ENG","modules":["address","estate"],"realDataTypes":true,"showContent":true,"showTable":true},"resourceid":"","resourcetype":"fields","timestamp":1641543241,"hmac":"yyyy"}]}}"
  ["_curlOptions":"onOffice\SDK\internal\HttpFetch":private]=>
  array(2) {
    [64]=>
    bool(true)
    [181]=>
    int(2)
  }
}
jayay commented 2 years ago

I removed the token and hmac values from the request

jmaas-onoffice commented 2 years ago

Fixed in #109.