sails-inverse-model icon indicating copy to clipboard operation
sails-inverse-model copied to clipboard

toSailsAttribute bug -- > bad result for views

Open Islam-Baraka opened this issue 7 years ago • 1 comments
trafficstars

Hello here are many bugs I found in the view creating process from the mysql compiler 1- the ID field shouldn't be exported to any view 2- the return array view_content have many bugs a. the indexOf searching method will return many issues like searching for time resolve to text and then datetime will be set also to text not datetime as time is part of datetime string
b. boolean in MySql will be set automatically to tinyint<1> or int<1> so perhaps we need to check for this value/length to return checkbox c. not really sure as i'm writing this while i'm discovering more issues 3- the view for create/edit didn't prepare for any element like textarea

i will work on a patch for this issues

Islam-Baraka avatar Feb 14 '18 01:02 Islam-Baraka

@Islam-Baraka Hello, thank you so much for being part of the open source community. Sails Inverse Model is a project that requires more features, including many improvements, as you may have noticed, there are many bugs because the tests performed were run on only a few computers, and relatively small databases along with few data types. The structure of the controllers and views is only a basic schema that does not cover security aspects, SIM only takes care of generating a simple view that has a structure that the user must adjust to their needs, such as security, etc. Any suggestion, issue, pull request... will be welcome.

juliandavidmr avatar Feb 14 '18 05:02 juliandavidmr