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

Reporting cav changes to develop #383

Merged
merged 2 commits into from
Dec 13, 2016
Merged

Reporting cav changes to develop #383

merged 2 commits into from
Dec 13, 2016

Conversation

GuenoleK
Copy link
Contributor

@GuenoleK GuenoleK commented Dec 7, 2016

No description provided.

@TomGallon TomGallon changed the title Reporting cavinmac changes to develop Reporting cav changes to develop Dec 8, 2016
@@ -48,14 +48,14 @@ function loadList(listDesc) {
* @param {string} listName - The name of the list to load.
* @param {object} args - Argument to provide to the function.
*/
function loadListByName(listName, args) {
function loadListByName(listName, args, skipCache) {
Copy link
Contributor

Choose a reason for hiding this comment

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

put a value by default please, to ensure that's still work for all projects

Copy link
Contributor

Choose a reason for hiding this comment

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

skipCash = false

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@JohnnP is this the unacessible argument ?

Copy link
Contributor

Choose a reason for hiding this comment

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

In fact no, the method is export so it's necessary to put a default value.

@@ -70,7 +70,7 @@ function loadListByName(listName, args) {
//Load many lists by their names. `refHelper.loadMany(['list1', 'list2']).then(success, error)`
// Return an array of many promises for all the given lists.
// Be carefull, if there is a problem for one list, the error callback is called.
function loadMany(names) {
function loadMany(names, skipCache) {
Copy link
Contributor

Choose a reason for hiding this comment

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

put a value by default please, to ensure that's still work for all projects

dispatcher.handleViewAction({data: err, type: 'error'});
});
};
function builtInReferenceAction(referenceNames, skipCache) {
Copy link
Contributor

Choose a reason for hiding this comment

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

put a value by default please, to ensure that's still work for all projects

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this one have to be set to false

@GuenoleK
Copy link
Contributor Author

GuenoleK commented Dec 8, 2016

@JohnnP can you do a little review here to explain which function from @TomGallon comments can have a default set and which one we have to not touch because it is used on another function please ?

I will do the modifictions. Do not hesistate to comment on @TomGallon also.

Copy link
Contributor

@JohnnP JohnnP left a comment

Choose a reason for hiding this comment

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

@GuenoleK @TomGallon

it is necessary to add skipCache=false in all method's parameter

function loadListByName(listName, args, skipCache=false)
function builtInReferenceAction(referenceNames, skipCache=false)
function loadMany(names, skipCache=false)

@GuenoleK
Copy link
Contributor Author

GuenoleK commented Dec 8, 2016

@JohnnP perfect thanks

@TomGallon TomGallon merged commit bebdacc into develop Dec 13, 2016
@TomGallon TomGallon deleted the cherry-pick-cav branch December 13, 2016 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants