DalgoT4D / webapp

GNU Affero General Public License v3.0
8 stars 35 forks source link

Rename column does not behave as expected #1099

Closed ashwinit4d closed 1 month ago

ashwinit4d commented 1 month ago

Describe the bug A clear and concise description of what the bug is. Rename Column function requires you to Add a column in order to rename it. The initial form values are considered void. Check screenshot

To Reproduce Steps to reproduce the behavior:

  1. Select a table
  2. Select function "Rename Column"
  3. update the column name and the new column name
  4. Can view the error - Atleast one column name to be added
  5. Now Add column
  6. update the column name and new column name
  7. it works

Expected behavior A clear and concise description of what you expected to happen. Once you update the Rename table form (without adding column), it should take the input values and save the operation After the first 3 steps listed above the update function should have worked.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-08-02 at 6 05 04 PM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

fatchat commented 1 month ago

hi ashwini could you clarify...

you also mentioned "once you update the form" is it possible you initially selected a column to rename, clicked Save, then clicked Back, then clicked Save again? or something like that

ashwinit4d commented 1 month ago

Updated the "steps to reproduce the bug" and the expected behavior

fatchat commented 1 month ago

@mdshamoon wasn't this fixed as part of https://github.com/DalgoT4D/webapp/pull/1075

mdshamoon commented 1 month ago

Yes @fatchat. I think the issue was opened before our deployment this weekend. I just checked and it is fixed now.

fatchat commented 1 month ago

@ashwinit4d can you verify and close if it is fixed thank you

ashwinit4d commented 1 month ago

This is working now.