I am able to successfully delete a Data Set and all corresponding DataElements and Indicators and corresponding data via the Web API. However when I then go and attempt to load a Favourite that was created referencing elements that are now deleted, I get the error
Code 409
Status: Conflict
Dimension dx is present in query without any valid dimension options
(see attached screenshot)
This doesn’t give the user any idea that the favourite is no longer valid because the underlying elements have been deleted. In order for this functionality to make sense to the user I want to do one of the following:
Prior to deleting the Data Set and related objects, query for all favourites that use any items to be deleted and list them and allow the user the option to have them programatically deleted.
Is it possible to query for favourites by their corresponding data elements and indicators via the API?
Is it possible to delete a favourite via the API?
If #1 above is not possible, is it possible to show a more meaningful message to the user that lets them know why a favourite cannot be loaded?
I am using version:
Hi - just following up on this. Does anyone have any suggestions?
···
On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees lcrees@2paths.com wrote:
Hi,
I am able to successfully delete a Data Set and all corresponding DataElements and Indicators and corresponding data via the Web API. However when I then go and attempt to load a Favourite that was created referencing elements that are now deleted, I get the error
Code 409
Status: Conflict
Dimension dx is present in query without any valid dimension options
(see attached screenshot)
This doesn’t give the user any idea that the favourite is no longer valid because the underlying elements have been deleted. In order for this functionality to make sense to the user I want to do one of the following:
Prior to deleting the Data Set and related objects, query for all favourites that use any items to be deleted and list them and allow the user the option to have them programatically deleted.
Is it possible to query for favourites by their corresponding data elements and indicators via the API?
Is it possible to delete a favourite via the API?
If #1 above is not possible, is it possible to show a more meaningful message to the user that lets them know why a favourite cannot be loaded?
I am using version:
On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees lcrees@2paths.com wrote:
Hi,
I am able to successfully delete a Data Set and all corresponding DataElements and Indicators and corresponding data via the Web API. However when I then go and attempt to load a Favourite that was created referencing elements that are now deleted, I get the error
Code 409
Status: Conflict
Dimension dx is present in query without any valid dimension options
(see attached screenshot)
This doesn’t give the user any idea that the favourite is no longer valid because the underlying elements have been deleted. In order for this functionality to make sense to the user I want to do one of the following:
Prior to deleting the Data Set and related objects, query for all favourites that use any items to be deleted and list them and allow the user the option to have them programatically deleted.
Is it possible to query for favourites by their corresponding data elements and indicators via the API?
Is it possible to delete a favourite via the API?
If #1 above is not possible, is it possible to show a more meaningful message to the user that lets them know why a favourite cannot be loaded?
I am using version:
What is your process for reviewing and prioritizing JIRA issues? Just wondering when I would know if and when these issues would be developed, and for which version(s)?
Thanks,
Lorill
···
On Mon, Feb 27, 2017 at 6:28 PM, Morten Olav Hansen morten@dhis2.org wrote:
On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees lcrees@2paths.com wrote:
Hi,
I am able to successfully delete a Data Set and all corresponding DataElements and Indicators and corresponding data via the Web API. However when I then go and attempt to load a Favourite that was created referencing elements that are now deleted, I get the error
Code 409
Status: Conflict
Dimension dx is present in query without any valid dimension options
(see attached screenshot)
This doesn’t give the user any idea that the favourite is no longer valid because the underlying elements have been deleted. In order for this functionality to make sense to the user I want to do one of the following:
Prior to deleting the Data Set and related objects, query for all favourites that use any items to be deleted and list them and allow the user the option to have them programatically deleted.
Is it possible to query for favourites by their corresponding data elements and indicators via the API?
Is it possible to delete a favourite via the API?
If #1 above is not possible, is it possible to show a more meaningful message to the user that lets them know why a favourite cannot be loaded?
I am using version:
Deleting favorites should definitely be possible, but they are some complications around it (if they are connected to dashboard items etc), its something we should look more closely into I’m sure.
The process of JIRA issues is that when you report them, they are automatically assigned to the person responsible for that module, that person will then look at the issue (and re-assign to a different person if necessary)
···
On Tue, Feb 28, 2017 at 11:42 PM, Lorill Crees lcrees@2paths.com wrote:
Hi Morten,
Can I assume then that querying for and deleting favourites via the API is not possible right now?
What is your process for reviewing and prioritizing JIRA issues? Just wondering when I would know if and when these issues would be developed, and for which version(s)?
On Thu, Feb 16, 2017 at 11:27 AM, Lorill Crees lcrees@2paths.com wrote:
Hi,
I am able to successfully delete a Data Set and all corresponding DataElements and Indicators and corresponding data via the Web API. However when I then go and attempt to load a Favourite that was created referencing elements that are now deleted, I get the error
Code 409
Status: Conflict
Dimension dx is present in query without any valid dimension options
(see attached screenshot)
This doesn’t give the user any idea that the favourite is no longer valid because the underlying elements have been deleted. In order for this functionality to make sense to the user I want to do one of the following:
Prior to deleting the Data Set and related objects, query for all favourites that use any items to be deleted and list them and allow the user the option to have them programatically deleted.
Is it possible to query for favourites by their corresponding data elements and indicators via the API?
Is it possible to delete a favourite via the API?
If #1 above is not possible, is it possible to show a more meaningful message to the user that lets them know why a favourite cannot be loaded?
I am using version: