onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Persistence of the property list with missing or same name #865

Open fredericalpers opened 4 months ago

fredericalpers commented 4 months ago

Persistence of the property list with missing or same name

Introduction

If a new property list is created and an attempt is made to save it without a name or with a name that is the same as an existing list, all the settings made are deleted. The error “There was a problem saving the list. The Name field must not be empty.” is displayed.

User Story

As a real estate agent, I want to make sure that all my changes to a new property listing are retained, even if I forget to give the listing a name, so that I don't lose any data and don't have to repeat my work unnecessarily.

This change ensures that users do not lose any data when creating real estate listings and can therefore work more efficiently.

Task / Requirements

dai-eastgate commented 3 months ago

@fredericalpers I have implemented this issue. Here is evidence, please check it and let me know your opinion. Thanks!

https://github.com/user-attachments/assets/456cc65e-f78c-46ff-8b6b-2ba01cb5134a

fredericalpers commented 3 months ago

@dai-eastgate this seems to be working as intendet now, thank you! :) we will review this as soon as possible