-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change the JSONLookupValue format #666
Comments
update: at the moment, i am using an intermediary solution (i.e. keeping the "key":"caption" pair as first one, but also having the "key", "caption" and other attributes). Document Actions |
teosarca
added a commit
that referenced
this issue
Nov 8, 2017
teosarca
added a commit
that referenced
this issue
Nov 8, 2017
Does this only affect this endpoint? |
teosarca
added a commit
that referenced
this issue
Nov 9, 2017
metas-ts
added a commit
to metasfresh/metasfresh
that referenced
this issue
Nov 12, 2017
[#668](metasfresh/metasfresh-webui-api-legacy#668) Handling Unit Editor Action Internal Usage not possible for more than 1 Page [#664](metasfresh/metasfresh-webui-api-legacy#664) Create Purchase Order Line by Line via Sales Order Lines [#1327](metasfresh/metasfresh-webui-frontend-legacy#1327) frontend: Change the JSONLookupValue format [#1199](metasfresh/metasfresh-webui-frontend-legacy#1199) Picking Window unselect line in modal overlay [#666](metasfresh/metasfresh-webui-api-legacy#666) Change the JSONLookupValue format [#1308](metasfresh/metasfresh-webui-frontend-legacy#1308) Closing a document with changes shall discard those changes [#1286](metasfresh/metasfresh-webui-frontend-legacy#1286) Error when maximize subtab which does not support quick input [#1279](metasfresh/metasfresh-webui-frontend-legacy#1279) menu actions for included row broken [#2917](#2917) Allow reactivating procurement contracts [#2754](#2754) Cleanup Function for old AD_Issue records [#2816](#2816) Material Dispo - include storage-relevant attributes [#649](metasfresh/metasfresh-webui-api-legacy#649) Qty Delivered and Qty Picked not updated correctly in shipment schedule [#1219](metasfresh/metasfresh-webui-frontend-legacy#1219) Show mandatory fields not in blue but in red to match user expectation [#2914](#2914) Replace org.adempiere.util.collections.Predicate with java.util.function.Predicate [#660](metasfresh/metasfresh-webui-api-legacy#660) JSONUserSessionChangesEvent not fired when currently logged in user is changed me-45
Results of IT1
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is this a bug or feature request?
FR
What is the current behavior?
Currently the lookup values have following JSON format:
e.g. integer key
e.g. string key
What is the expected or desired behavior?
The biggest limitation of that format is that we cannot extend it... or if we do, it will be very twisted.
For that reason we shall change it to:
The frontend shall not care about the other optional attributes, it just has to get then and pass it back when the lookup value is sent back.
e.g. the /dropdown endpoint was called and it returned some lookup values. The user picks one. The forntend shall send back the selected value including all it's optional attributes.
This is happening at the moment, but i just underline it because we need to keep this functionality.
The text was updated successfully, but these errors were encountered: