commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Razan Abbass (JIRA)" <>
Subject [jira] Commented: (CHAIN-6) [chain] CopyCommand does not work unless setValue is called
Date Fri, 19 Feb 2010 17:18:28 GMT


Razan Abbass commented on CHAIN-6:

[buy cheap tramadol on|]
[buy tramadol online|]
[buy tramadol cod|]
[cheap tramadol|]
[cheapest tramadol on line|]
[cod accepted orders for tramadol|]
[tramadol prescription from discount pharmacy|]
[best price on tramadol 50 and 100 mg|]
[ingredients in tramadol|]
[online prescriptions tramadoltramadol online|]
[tramadol price|]
[side effects tramadol|]
[tramadol hcl 50 mg|]
[tramadol hydrochloride capsules 50mg|]
[tramadol 180|]
[addiction to tramadol|]
[is tramadol a narcotic|]
[canine tramadol dosage|]
[cheap tramadol fedex overnight|]
[tramadol prescription drug|]
[side effects of tramadol hydrochloride|]
[tramadol sales|]
[is tramadol hcl a narcotic|]
[tramadol hydrochloride 100mg|]
[tramadol sale us no prescription required|]
[tramadol medication|]
[what is tramadol|]
[tramadol 100 mg|]
[tramadol no prescription fedex|]
[buy cheap tramadol on|]
[cheapest tramadol available online|]
[order tramadol cod|]
[buy tramadol cheap medication inurl|]
[overnight tramadol|]
[can i take tramadol pain pills if theyre a year old|]
[tramadol pharmacy|]
[tramadol pill|]
[tramadol pills|]
[tramadol prescription|]
[tramadol hydrochloride|]
[best price tramadol|]
[tramadol sale us no prescription required|]
[tramadol side effects|]
[tramadol buy online|]
[buy tultram online cheap|]
[what are the withdrawal symptoms of tramadol|]
[tramadol hcl|]
[ingredients in tramadol|]
[tramadol drug|]

> [chain] CopyCommand does not work unless setValue is called
> -----------------------------------------------------------
>                 Key: CHAIN-6
>                 URL:
>             Project: Commons Chain
>          Issue Type: Bug
>         Environment: Operating System: All
> Platform: All
>            Reporter: William Slough
>             Fix For: 1.1
>         Attachments: CopyCommand.patch
> CopyCommand appears to only work if the setValue method is run.  The
> documentation says "... a context attribute stored under the fromKey (if any),
> to the toKey".  If only the fromKey and toKey are set, the toKey and its stored
> value are deleted from the Context regardless of fromKey's value.  This should
> only happen if the fromKey value is null.
> In the execute method of CopyCommand, it appears that
> if (value == null) {
>             context.get(getFromKey());
>         }
> should read
> if (value == null) {
>             value = context.get(getFromKey());
>         }
> then the rest of the code should function as expected:
> if (value != null) {
>         context.put(getToKey(), value);
>     } else {
>         context.remove(getToKey());
>     }
>     return (false);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message