The operations in the views ec_transaction_in_picking, ec_transaction_list, and ec_receipt_list were apparently exported from someone's site, which means that they are md5 summaries of the actual action name, and become invalid if the action name changes. Patch to follow.

Comments

darren oh’s picture

StatusFileSize
new3.31 KB

I figured out what most of the actions were supposed to be, but one was number 4, which means it is a saved action rather than a hard-coded action. The number of a saved action is unpredictable, so I don't know what this is supposed to be. I was unable to determine what the md5 summary of another action was derived from.

gordon’s picture

Status: Active » Needs work

This whole system is crap anyway of using the md5's into the default views. but adding the md5() the views means that you can't export the views to do the updates.

darren oh’s picture

Status: Needs work » Needs review
StatusFileSize
new3.29 KB

The attached patch will work once the VBO bug in issue 490034 has been fixed.

gordon’s picture

Actually there should not need to be a patch to ec, except a task to re-export the views to have the actions exported in the new format once VBO is patched.

Gordon.

darren oh’s picture

Status: Needs review » Fixed

Fixed in CVS commit 225986.

gordon’s picture

Does this rely on changes from VBO to work?

Also we should not have to do anything as it the bulk export should handle all this. The new format of the actions which is stored in the default view should be reflected in the export of the view.

darren oh’s picture

The changes to VBO have already been committed. My only change to the exported views was to add translated strings.

Status: Fixed » Closed (fixed)

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