rootio / rootio_web

RootIO web app & telephony services
https://rootio.eu
GNU Affero General Public License v3.0
36 stars 19 forks source link

Retain only last created IVR menu for the station #337

Open judelove opened 5 years ago

judelove commented 5 years ago

The IVR listing should show only the last created IVR menu for each station. Upon saving a new menu, the old menu should be archived by setting a flag on it. This could be the "deleted" flag, with the listing query ignoring records where this record is set to "True"

carlosmouracorreia commented 5 years ago

I can't delete some IVR Menus because it seems they don't have unique IDs. There's already other IVR Menus with duplicated IDs. From the records I see here, the entries seem duplicated. It might had to do with the seeding I've did locally so maybe just ignore me.

carlosmouracorreia commented 5 years ago

On staging I get this bug:

"[Tue Aug 27 15:04:58.289194 2019] [wsgi:error] [pid 20951:tid 139900860450560] [client 213.30.88.198:63108] OSError: [Errno 13] Permission denied: '/storage/rootio-staging/content', referer: http://staging.rootio.eu/configuration/ivr_menu"

It's probably a staging server misconfiguration. @judelove