Salesforce-Inspector-reloaded icon indicating copy to clipboard operation
Salesforce-Inspector-reloaded copied to clipboard

[data-export] Saved query with character ':' are not pasted correctly

Open Anassi89 opened this issue 9 months ago • 2 comments

When is saved a Query with the Character ':' the query is not pasted correctly; only the values after the ':' are pasted

Steps to reproduce the behavior:

  1. Create a Query select count(id) from account where CreatedDate < LAST_N_DAYS:10
  2. Click on 'Save Query'
  3. Select the Saved Query
  4. See error (It's pasted only the Value '10')

The query should be pasted correctly

image

Desktop:

  • Win11
  • Chrome
  • Version 124.0.6367.91

Anassi89 avatar May 14 '24 11:05 Anassi89

Hi @Anassi89, Ok I could reproduce the bug, this is only when no label is set. I'll fix this 👍

tprouvot avatar May 14 '24 14:05 tprouvot

TODO:

  • add a label property to savedHistory instead of using a separator
  • handle data migration to the new model (probably in background.js with onInstalled.addListener on "update" reason)
  • track this code to be removed on the next version

tprouvot avatar May 14 '24 14:05 tprouvot