Comments (2)
I think this happens because Sulu tries to update the content of the badge of the automation tab when the route is changed. It looks like this reaction is still triggered when navigating away from the view that includes the badge.
One way to solve this would be passing the route of the Tab
view that renders the badge to the badge via a tabRoute
prop here:
https://github.com/sulu/sulu/blob/457947c60f68abf37ad7c7eecdeeab2fcbf5d0a8/src/Sulu/Bundle/AdminBundle/Resources/js/views/Tabs/Tabs.js#L173-L181
After this, we can only send a request to the server if the new route is a child/descendant of the given tabRoute
in the BadgeStore
:
https://github.com/sulu/sulu/blob/457947c60f68abf37ad7c7eecdeeab2fcbf5d0a8/src/Sulu/Bundle/AdminBundle/Resources/js/containers/Badge/stores/BadgeStore.js#L35-L37
from suluautomationbundle.
Fixed in sulu/sulu#6067
from suluautomationbundle.
Related Issues (16)
- No permissions throw an error on the page HOT 1
- CMS doesn't take into account GMT timezone correctly when saving task time HOT 2
- Overview and bulk functionality HOT 1
- Missing disabled state for past tasks in ListView HOT 1
- Number with active tasks HOT 7
- Add link to sulu-documentation
- Missing Save-Button Task Information HOT 3
- Add translations to crowdin HOT 2
- Truncating ta_tasks and ta_task_executions leads to an error in the admin area HOT 4
- SuluAutomationBundle 2.0 Roadmap
- Documentation for implementing automation for a custom bundle
- Save button still active after page has been published by automation HOT 3
- Attempted to load class "AutomationViewBuilder" from namespace "Sulu\Bundle\AutomationBundle\Admin\View". Did you forget a "use" statement for another namespace? HOT 1
- Clearing cache when {host} is used in webspace.xml
- SuluAutomationBundle's main.js is not loaded due to wrong path HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from suluautomationbundle.