This is a followup on #1427144: Notice: Undefined index: revision in commerce_product_product_form() (line 77

Like the title says, when the default value for a product type is to create a new revision, the revision fieldset should be expanded, so that it's visible for admins that a new revision is being made.

Comments

googletorp’s picture

I've created a patch for this: Commit

rszrama’s picture

Status: Active » Needs review

Hmm, I think the HTML might be messed up in your comment, but I'd love to merge it in if you can fix it. : )

googletorp’s picture

Missed ending " in href. Should work better now.

rszrama’s picture

Status: Needs review » Fixed

Cool, got it in (but inverted the !(&&) conditional to just an ||).

Status: Fixed » Closed (fixed)

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