Log message #4159944

# At Username Text
# Jul 18th 2018, 09:49 josbeir 7.1 even...
# Jul 18th 2018, 09:49 saeideng thank you for your work :+1:
# Jul 18th 2018, 09:49 josbeir ;)
# Jul 18th 2018, 09:49 saeideng no problem
# Jul 18th 2018, 09:48 saeideng I can not use now :yum:
# Jul 18th 2018, 09:48 josbeir i dont look back !
# Jul 18th 2018, 09:48 josbeir yes sorry :P
# Jul 18th 2018, 09:48 saeideng it is php 7 only
# Jul 18th 2018, 09:46 josbeir @bogdan https://github.com/josbeir/cakephp-filesystem#using-your-own-entities
# Jul 18th 2018, 09:41 josbeir please share your experiences and or issues if they arise
# Jul 18th 2018, 09:41 josbeir there's a small piece of documentation on how to swap entities in the readme @bogdan
# Jul 18th 2018, 09:40 josbeir its not an 'automagic' aproach, its pretty abstract
# Jul 18th 2018, 09:40 josbeir @bogdan yes probably altough keep in mind that it is pretty abstract so i't will probably require a minimal set of code to make it work
# Jul 18th 2018, 09:39 josbeir yes
# Jul 18th 2018, 09:39 saeideng @josbeir is your plugin in awesome-cakephp list ?
# Jul 18th 2018, 09:39 madbbb @josbeir so if I add my own entity from database model it will behave like a database entry with transparent delete and auto load with associations?
# Jul 18th 2018, 09:38 neon1024 Yeah, turns out the entities in the association are dirty, but the parent entity association property is not
# Jul 18th 2018, 09:37 josbeir pick one that fits your needs
# Jul 18th 2018, 09:37 josbeir its on the awesome-cakephp list, many ones to pick
# Jul 18th 2018, 09:37 josbeir @bogdan if you want a quick dropin solution you can save those entities somewhere in a json type field in your db :slightly_smiling_face:
# Jul 18th 2018, 09:37 mr.mjsm @josbeir i am planning to make an upload center in my project. can I use your plugin ? if so can you gimme the link
# Jul 18th 2018, 09:36 neon1024 So if I’ve changed the `propertyName` it won’t persist?
# Jul 18th 2018, 09:36 neon1024 https://book.cakephp.org/3.0/en/orm/saving-data.html#saving-hasmany-associations
# Jul 18th 2018, 09:35 mr.mjsm @josbeir ok good, i will try to work it out somehow, just relieved that the problem is not in the code
# Jul 18th 2018, 09:35 josbeir setup*
# Jul 18th 2018, 09:35 josbeir i'm currently using it in an elasticsearch setu
# Jul 18th 2018, 09:35 josbeir maybe i'll make a behavior in the future as a seperate plugin
# Jul 18th 2018, 09:35 josbeir the plugin itself doesn't implement any orm persistence though, you need to do that stuff yourself
# Jul 18th 2018, 09:34 josbeir you can actually switch out the entity class with an ORM one
# Jul 18th 2018, 09:34 madbbb @josbeir tried your plugin yesterday - great work. how do you keep information about file in database after file is uploaded?
# Jul 18th 2018, 09:34 josbeir yeah me too, seems to be ok
# Jul 18th 2018, 09:34 saeideng it is clickable
# Jul 18th 2018, 09:34 saeideng I tested in local
# Jul 18th 2018, 09:32 madbbb I think its a css problem
# Jul 18th 2018, 09:31 mr.mjsm and no error message on console
# Jul 18th 2018, 09:30 mr.mjsm no. the button is not clickable
# Jul 18th 2018, 09:30 madbbb @mr.mjsm do you have "are you sure" message box?
# Jul 18th 2018, 09:29 josbeir @mr.mjsm are you getting a js error in your dev console when clicking the faulty button ?
# Jul 18th 2018, 09:29 mr.mjsm https://paste.ofcode.org/gWspuC5CXzeEmHLfSj4yMa
# Jul 18th 2018, 09:28 alexdd55 yes it is… :)
# Jul 18th 2018, 09:28 josbeir ah wait it is :)