GithubHelp home page GithubHelp logo

Comments (6)

ikostenko avatar ikostenko commented on July 24, 2024

@max-dev @aliubunia

from light-admin.

max-dev avatar max-dev commented on July 24, 2024

Fixed in 9739969

from light-admin.

ikostenko avatar ikostenko commented on July 24, 2024

Cannot save integer fields: when entering a valid integer value (1), it is transformed to a decimal value (1.00), and the following error message is shown when saving a record:
Can not construct instance of java.lang.Integer from String value '1.00': not a valid Integer value at [Source: org.apache.catalina.connector.CoyoteInputStream@1ce5858; line: 1, column: 1

from light-admin.

ikostenko avatar ikostenko commented on July 24, 2024

org.lightadmin.page.FilterTest.canFilterByIdField()
Cannot search by ID field: search result is not filetered, and the following JS error is shown:

GET http://localhost:8080/lightadmin/rest/customer/scope/All/search?id=1.00&firstname=&lastname=&emailAddress=&limit=10&page=1&sort=id&id.dir=asc 400 (Bad Request) jquery-1.8.0.min.js:2
send jquery-1.8.0.min.js:2
p.extend.ajax jquery-1.8.0.min.js:2
dataTableRESTAdapter lightadmin.js:73
wa jquery-dataTables.min.js:46
x jquery-dataTables.min.js:38
O jquery-dataTables.min.js:86
aa jquery-dataTables.min.js:42
fnDraw jquery-dataTables.min.js:104
$.fn.dataTableExt.oApi.fnReloadAjax jquery-dataTables-fnReloadAjax.js:9
(anonymous function) jquery-dataTables.min.js:96
Searcher.search lightadmin-search.js:125
FilterComponent.submitForm lightadmin-search.js:65
p.event.dispatch jquery-1.8.0.min.js:2

from light-admin.

ikostenko avatar ikostenko commented on July 24, 2024

The following tests fail because the entered value is formatted
org.lightadmin.page.FilterTest.canFilterByIntegerField()
Reason: 1234567 is formatted to 1,234,567
org.lightadmin.page.FilterTest.canFilterByIntegerField()
Reason: 1499.99 is formatted to 1,499.99

from light-admin.

ikostenko avatar ikostenko commented on July 24, 2024

Verified

from light-admin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.