You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bu...@apache.org on 2017/12/06 04:01:27 UTC

svn commit: r1021780 - in /websites/staging/directory/trunk/content: ./ api/user-guide/2.6-modifying.html

Author: buildbot
Date: Wed Dec  6 04:01:27 2017
New Revision: 1021780

Log:
Staging update by buildbot for directory

Modified:
    websites/staging/directory/trunk/content/   (props changed)
    websites/staging/directory/trunk/content/api/user-guide/2.6-modifying.html

Propchange: websites/staging/directory/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Dec  6 04:01:27 2017
@@ -1 +1 @@
-1817052
+1817258

Modified: websites/staging/directory/trunk/content/api/user-guide/2.6-modifying.html
==============================================================================
--- websites/staging/directory/trunk/content/api/user-guide/2.6-modifying.html (original)
+++ websites/staging/directory/trunk/content/api/user-guide/2.6-modifying.html Wed Dec  6 04:01:27 2017
@@ -266,7 +266,7 @@ h2:hover > .headerlink, h3:hover > .head
 <p>Another potential error occurs when adding an attribute type that isn't allowed on that entry. This occurs because the Entry's ObjectClass does not allow such an attribute (per the schema), or because the server forbids modification of that entry, due to the ACIs applied on this entry.</p>
 <p>Last, but not least, and hopefully this is obvious, the entry <em>must</em> exist prior to modification!</p>
 <h3 id="removing-an-attribute">Removing an attribute<a class="headerlink" href="#removing-an-attribute" title="Permanent link">&para;</a></h3>
-<p>Removing an attribute is actually a bit simpler than adding one, because the values for the attribute don't need to be specified. Here's an example where the <em>givenName</em> attrinute is removed from an entry:</p>
+<p>Removing an attribute is actually a bit simpler than adding one, because the values for the attribute don't need to be specified. Here's an example where the <em>givenName</em> attribute is removed from an entry:</p>
 <div class="codehilite"><pre><span class="o">...</span>
 <span class="n">Modification</span> <span class="n">deletedGivenName</span> <span class="o">=</span> <span class="k">new</span> <span class="n">DefaultModification</span><span class="o">(</span> <span class="n">ModificationOperation</span><span class="o">.</span><span class="na">REMOVE_ATTRIBUTE</span><span class="o">,</span> <span class="s">&quot;givenName&quot;</span> <span class="o">);</span>