KarlPatach / SalesforceGitVisualiser

This project is a first step in integrating GitHub into Salesforce. Its vision is enabling developers to have a single consolidated view of all the projects they are working on or are interested in, directly in Salesforce, with tight coupling with standard Salesforce objects such as Users, Cases and Work Items (available in Agile Accelerator app).
2 stars 0 forks source link

PR list view crashes when adding filters #28

Open pozil opened 4 years ago

pozil commented 4 years ago

Context/repro: I'm trying filter PRs based on an GitHub organization so I'm adding a filter on a list view. This is filtering the PR display URL and making sure it start with the right URL prefix for the organization (see attached screenshot).

This is the error stack:

EXTERNAL_OBJECT_EXCEPTION: Salesforce System Error: 853801756-472084 (-347521853) (-347521853) : 
Class.DataSource.QueryUtils.filter: line 41, column 1
Class.DataSource.QueryUtils.process: line 13, column 1
Class.PullRequestDataModel.handleQuery: line 106, column 1
Class.SFDC2GitHubConnection.query: line 18, column 1

Screen Shot 2020-08-17 at 10 27 37

KarlPatach commented 4 years ago

I've pushed back for so long #1 "Handle pull requests in a clean way" I guess it would be a good opportunity to fix this one at the same time

I think I'll look into it tomorrow if you're not working on this @pozil

pozil commented 4 years ago

Thx. Go ahead, I'm quite booked this week and heading for PTO on Thursday evening.

KarlPatach commented 4 years ago

This issue seems to happen everytime I use either contains or startswith, in any Text / URL field, in any External Object. There must be some sort of limitation preventing us to do pattern matching on External Objects ? 🤔