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

Cascading relationships #708

Merged
merged 5 commits into from
Jan 16, 2024
Merged

Cascading relationships #708

merged 5 commits into from
Jan 16, 2024

Conversation

wlorenzetti
Copy link
Member

Closes: #707

Refactoring of layers relationship saving workflow, add cascading saved.

Now G3W-CLIENT send with /vector/api/commit REST API relationship data in a nested manner (adaa135):

{
   "add":[
      
   ],
   "update":[
      ...
   ],
   "delete":[
      
   ],
   "relations":{
      "impianti_15b24578_3a7f_464c_8299_605584ba6048":{
         "lockids":[
          ...
         ],
         "add":[
            ...
         ],
         "update":[
            
         ],
         "delete":[
            
         ],
         "relations":{
            "interventi_e6c16199_9fdc_4500_93d7_d284ba9fb6d4":{
               "lockids":[
                  
               ],
               "add":[
                 ...
               ],
               "update":[
                  
               ],
               "delete":[
                  
               ],
               "relations":{
                  
               }
            }
         }
      }
   },
   "lockids":[
     ...
}

volterra79 and others added 3 commits January 8, 2024 11:54

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@wlorenzetti wlorenzetti added the bug Something isn't working label Jan 9, 2024
@wlorenzetti wlorenzetti added this to the v3.7.2 milestone Jan 9, 2024
@wlorenzetti wlorenzetti self-assigned this Jan 9, 2024
@wlorenzetti wlorenzetti requested a review from volterra79 January 9, 2024 13:57
@wlorenzetti wlorenzetti marked this pull request as ready for review January 9, 2024 13:58
# Conflicts:
#	g3w-admin/client/static/client/js/app.min.js
#	g3w-admin/editing/static/editing/js/plugin.js
@wlorenzetti wlorenzetti merged commit 92068de into dev Jan 16, 2024
@wlorenzetti wlorenzetti deleted the cascading_relationships branch January 16, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Cascading project relations editing fail
2 participants