dwijitsolutions / laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.
http://laraadmin.com
MIT License
1.56k stars 538 forks source link

All the pages for Default modules deleted/changed when I click Generate Module #311

Open singhhrpreet opened 4 years ago

singhhrpreet commented 4 years ago

So it happened, Like this,

In order to revert back the changes I did to module's Views and their related controller, model, etc.

I clicked Generate Module by going to each module in the Module Listing. I also clicked Generate Module in the Default Modules.

I didn't noticed it then, but when I tried to go to the Roles/Users/Employee modules (which are the default modules). I found the code related to these modules changed/deleted.

So many functionalities like change password, Permissions View etc. were removed.

There should've been a check to not being able to generate these modules or something. Or these views and code which is specific to the default modules should've been separated out from the common code of each module.

It made my head scratch for an entire day on who made these changes.