[PCBC-306] 2.0 PHP SDK Doc Hello Couchbase Code HTML Formatting issue Created: 23/Oct/14  Updated: 23/Oct/14  Resolved: 23/Oct/14

Status: Resolved
Project: Couchbase PHP client library
Component/s: docs
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Minor
Reporter: Ian McCloy Assignee: Brett Lawson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
http://docs.couchbase.com/developer/php-2.0/hello-couchbase.html

The code block for the example code isn't stopping at </codeblock> so is parsing the paragraph after incorrectly.

$result = $bucket->replace('aass_brewery-juleol', $doc);

var_dump($result);</codeblock>

<p>The console output should look similar to this:</p>




[PCBC-305] 2.0 Doc typo, wrong filename Created: 23/Oct/14  Updated: 23/Oct/14  Resolved: 23/Oct/14

Status: Resolved
Project: Couchbase PHP client library
Component/s: docs
Affects Version/s: None
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Minor
Reporter: Ian McCloy Assignee: Brett Lawson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   
http://docs.couchbase.com/developer/php-2.0/hello-couchbase.html

"Copy and paste the Hello Couchbase code into a file named hello-couchbase.php. ....
Execute the following command:
$ php hello-couchbase.js"


that should be
Execute the following command:
$ php hello-couchbase.php




[PCBC-304] Append/prepend command do not support TTL Created: 20/Oct/14  Updated: 21/Oct/14

Status: Open
Project: Couchbase PHP client library
Component/s: library
Affects Version/s: 1.2.2
Fix Version/s: 2.0.1
Security Level: Public

Type: Task Priority: Major
Reporter: Patrick Varley Assignee: Brett Lawson
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates to
relates to PYCBC-261 Append and Prepend with TTL not suppo... Resolved
relates to JSCBC-155 Append/prepend command do not support... Resolved

 Description   
The underlying memcached binary protocol does not support TTL on prepend/append operations:

https://code.google.com/p/memcached/wiki/BinaryProtocolRevamped#Append,_Prepend

However the the SDK API suggests other wise:

http://www.couchbase.com/autodocs/couchbase-php-client-1.2.2/classes/Couchbase.html#method_append

We need to remove the TTL options from these commands:

append
prepend

This was 1st discovered in the Python SDK: PYCBC-261

 Comments   
Comment by Patrick Varley [ 21/Oct/14 ]
We should update the older docs/API and the release notes as a known issue.




Generated at Sat Oct 25 14:01:41 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.