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

Feature/766 only metadata update #1009

Merged
merged 5 commits into from
Jul 2, 2015
Merged

Conversation

fgalan
Copy link
Member

@fgalan fgalan commented Jun 16, 2015

Implements #766

@@ -294,10 +294,29 @@ static bool mergeAttrInfo(BSONObj& attr, ContextAttribute* caP, BSONObj* mergedA
{
BSONObjBuilder ab;

/* 1. Add value */
valueBson(caP, ab);
/* 1. Add value, if present in the resquest (it could be omitted in the case of updating only metadata) */
Copy link
Member

Choose a reason for hiding this comment

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

typo: resquest

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in 5dc4402

@kzangeli
Copy link
Member

kzangeli commented Jul 2, 2015

LGTM

kzangeli pushed a commit that referenced this pull request Jul 2, 2015
…update

Feature/766 only metadata update
@kzangeli kzangeli merged commit fc77dd9 into develop Jul 2, 2015
@kzangeli kzangeli deleted the feature/766_only_metadata_update branch July 2, 2015 07:42
fisuda pushed a commit to fisuda/fiware-orion that referenced this pull request Feb 15, 2022
…b-attrs

Forgot the special sub-attrs for the PATCH Attribute request with key-values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants