TITLE:
ACTUAL RESULT:
[Event manager] event "Default domain, DNS zone updated" fires multiple times
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:Plesk Onyx v17.8.11_build1708180301.19, CentOS Linux 7.7.1908 (Core)
PROBLEM DESCRIPTION:The event "Default domain, DNS zone updated" fires multiple times when adding a new subscription to Plesk. It fires only once (as expected) when the DNS zone is updated trough plesk.
STEPS TO REPRODUCE:- Create "Default domain, DNS zone updated" event in event manager.
- Remove any other events (just in case).
- Create simple script and log file (see my example below) to run when event is fired.
- Create new subscription.
- View log results to see the event has actually run multiple times.
Code:
#!/bin/bash
# Set permission for script: chmod +x test-event.sh
touch /tmp/tmp.log
echo "Event fired for domain ${NEW_DOMAIN_NAME}" >> /tmp/tmp.log
Event fires 5 times
EXPECTED RESULT:Event to fire only once
ANY ADDITIONAL INFORMATION:The same "Default domain, DNS zone updated" event only fires once (as expected) when the DNS zone is updated trough Plesk.
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:Confirm bug