Project browser devel module: Local storage not clear when we clear the drupal cache

Created on 23 September 2022, about 2 years ago
Updated 1 June 2023, over 1 year ago

Problem/Motivation

When we select the categories for project browser devel module, and then clear the drupal cache, the selected values shows undefined.

Steps to reproduce
  1. Install the module: project browser and project browser devel module
  2. Enable the random data source plugin from module config form (/admin/config/development/project_browser)
  3. Go to /admin/modules/browse
  4. click on random data tab
  5. filter with few categories
  6. clear drupal cache

Proposed resolution

Clear local storage/browser cache when drupal cache is cleared.

Remaining tasks

  • ✅ File an issue about this project
  • ☐ Manual Testing
  • ☐ Code Review
  • ☐ Accessibility Review
  • ☐ Automated tests needed/written?
🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇮🇳India anmolgoyal74

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States chrisfromredfin Portland, Maine

    I think Fran figured out that this was related to the dummy source plugin specifically, which only really matters for testing. Can't recall if he wanted to fix it or not. Assigning to Fran for review.

    Fran - feel free to describe what needs to be done OR close, at your discretion.

  • Status changed to Closed: outdated over 1 year ago
  • 🇪🇸Spain fjgarlin

    I tested and in the current project_browser iteration we don't even offer the random plugin anymore because, as Chris said, it is only used for the tests. I tested with the devel and source example plugin and this issue doesn't happen anymore.

    So I'm closing the issue.

Production build 0.71.5 2024