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

Bugfix: Trigger onChangeObjEvt on Obj move (#157) #158

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

admbzts
Copy link
Contributor

@admbzts admbzts commented Jul 14, 2023

If manage_movexxx is called there is no other method, which triggers onChangeObjEvt, so we added it in each method.

@@ -73,7 +73,7 @@
</tal:block>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="manage_zmi_logout" data-turbolinks="false"
tal:attributes="href python:'{}?lang={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang']) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout';
tal:attributes="href python:'{}?lang={}&__ac_name={}'.format(here.getConfProperty('ZMS.logout.href',''),request['lang'],request.get('AUTHENTICATED_USER')) if here.getConfProperty('ZMS.logout.href','')!='' else 'manage_zmi_logout';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not seem to be related to this PR's subject

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right.

Copy link
Contributor

@zmsdev zmsdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since the object itself is not really changed, I would suggest to just trigger a onObjMovedEvt

@zmsdev zmsdev added the enhancement New feature or request label Jul 26, 2023
@admbzts
Copy link
Contributor Author

admbzts commented Jul 28, 2023

its not a change on the obj but its a change on parent because the order of the children is changed. But the PR doesnt solve the problem of the parent :-)

@admbzts
Copy link
Contributor Author

admbzts commented Nov 29, 2023

The Changes on Products/zms/zpt/common/zmi_body_header.zpt are outdatet and the PR contains only the cahnges on onChangeObjEvt #158 1cde313

@zmsdev
Copy link
Contributor

zmsdev commented Dec 4, 2023

Please resolve conflicts in zmsobject.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants