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

fix(geo): ensure the store contains map before bind to stores list #1582

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

aziz-access
Copy link
Contributor

@aziz-access aziz-access commented Jan 16, 2024

What is the current behavior? (You can also link to an open issue here)

this behavier reated to #1567

What is the new behavior?

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:

@aziz-access aziz-access added the bug Incorrect or unexpected behaviors // Anomalies de fonctionnement label Jan 16, 2024
@aziz-access aziz-access added this to the v16.2.0 milestone Jan 16, 2024
@aziz-access aziz-access self-assigned this Jan 16, 2024
@@ -26,6 +26,9 @@ export class FeatureStoreInMapResolutionStrategy extends EntityStoreStrategy {
* @param store Feature store
*/
bindStore(store: FeatureStore) {
if (!store && !store.layer && !store.layer.map) {
return;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

On semble simplement ignorer l'erreur plutot que de la corriger. Quel est la source du problème?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Je n'arrive pas à comprendre exactement la source du problème, car je n'ai pas suffisamment d'informations. donc j'ai ignorer l'erreur.
la seule chose que je comprends c'est que la valeur du store parfois undefined

@alecarn alecarn removed the request for review from pelord January 18, 2024 14:19
@alecarn alecarn modified the milestones: v16.2.0, v17.0.0 Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect or unexpected behaviors // Anomalies de fonctionnement not ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GEO - Cannot read properties of undefined (reading 'viewController')
2 participants