Comments

juliangb’s picture

Assigned: Unassigned » juliangb

I'm currently working on this, and it will be the next patch I post.

juliangb’s picture

Status: Active » Needs review
StatusFileSize
new63 KB

This probably needs more work. Posting for testing.

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v02.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new68.81 KB

This won't solve everything - but the tests shouldn't being trying to enable the now non-existent stormattribute module...

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v03.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new71.47 KB

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v04.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new71.42 KB

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v05.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new86.54 KB

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v06.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new103.7 KB

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v07.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new103.61 KB

Status: Needs review » Needs work

The last submitted patch, storm--kill-sa-v08.patch, failed testing.

juliangb’s picture

Status: Needs work » Needs review
StatusFileSize
new104.59 KB
juliangb’s picture

StatusFileSize
new104.57 KB

This corrects whitespace errors.

Also, note that this patch needs to be applied to a copy of Storm from git, rather than from the downloads - otherwise the patch will not apply.

juliangb’s picture

StatusFileSize
new104.56 KB

This kills all remaining whitespace errors (most of which were in the code to begin with).

juliangb’s picture

Status: Needs review » Fixed

Committed.

Storm attributes are now just a function of the basic Storm module.

john franklin’s picture

Status: Fixed » Needs review
StatusFileSize
new2 KB

Some function calls seem to have been missed.

modules/storm$ find . -type f -print | xargs grep stormattribute_value
./storminvoice/storminvoice_handler_field_invoice_status.inc:    return storm_icon('invoice_status_'. check_plain($status), stormattribute_value('Invoice status', $status));
./storminvoice/storminvoice.theme.inc:        'data' => storm_icon('invoice_status_'. check_plain($invoice->status), stormattribute_value('Invoice status', $invoice->status)),
./storm_handler_field_attributes_domain.inc:    $value = stormattribute_value($this->definition['domain'], $key);

The stormattribute_value function is used in three places. It was renamed storm_attribute_value().

Attached patch fixes last few spots.

juliangb’s picture

Status: Needs review » Fixed

Good spot - thanks!

Committed.

juliangb’s picture

Status: Fixed » Needs review
StatusFileSize
new827 bytes

This should fix a white screen error on viewing the attributes list.

juliangb’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

kfritsche’s picture

Status: Closed (fixed) » Needs review
StatusFileSize
new673 bytes

Found another one in stormattribute_handler_filter_attributes_domain.

Patch attached. Will commit this, if testbot agrees.

kfritsche’s picture

Status: Needs review » Fixed

commited.

juliangb’s picture

Committed to the D7 branch also.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.