Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit/Add a field on layers failed #225

Open
qifeng-bai opened this issue Nov 17, 2023 · 1 comment
Open

Edit/Add a field on layers failed #225

qifeng-bai opened this issue Nov 17, 2023 · 1 comment
Assignees

Comments

@qifeng-bai
Copy link
Contributor

qifeng-bai commented Nov 17, 2023

Link: https://spatial-test.ala.org.au/ws/manageLayers/field/1085

When we choose 'Edit layer" -> "Add field", the saving/updating process fails

1, Incorrect Form:

On Dev/Test

Screenshot 2023-11-17 at 3 10 41 pm

On prod
Screenshot 2023-11-17 at 3 11 32 pm

2, Creating a new field failed due to possible duplicated id / requestId.
Fix:
automated increment of request id based on naming convention
Change request id field to readonly

3, updating 'enable/disable' status does not work.
When we submit a 'checkbox', if it is unchecked, it won't be in 'map'. Says if we 'disable' a field, we click 'update', the enabled field won't be present in 'map', and then the field object will fill the default value 'true' in

4,List object failed

@qifeng-bai qifeng-bai self-assigned this Nov 17, 2023
@qifeng-bai
Copy link
Contributor Author

qifeng-bai commented Nov 17, 2023

How to test:
1, You should be able to enable/disable a field / layer.
2, You can create a new field
3, Differentiate enabled/disabled fields
Screenshot 2023-11-22 at 10 41 31 am

4, Delete a field no matter it is enabled or disabled
5, Fixed 'List object' function

qifeng-bai added a commit that referenced this issue Nov 22, 2023
Added warnings when a user tries to delete a disabled field
Fixed context-path and base links
qifeng-bai added a commit that referenced this issue Nov 23, 2023
qifeng-bai added a commit that referenced this issue Nov 23, 2023
qifeng-bai added a commit that referenced this issue Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant