Fix attached to: Issue 6055: [BUG] New System Progress doesn't work when headless http://code.google.com/p/pharo/issues/detail?id=6055
2.0
When headless and displaying progress, with used to be a no-op, now there is a BlockClosure DNU label:. This is because progress used to use a block that was pretending to be a class, so #value: would get sent everywhere, with the "selector" as the argument (e.g. value: #label). Now that we have a real progress object, we are sending #label: explicitly. Since CommandLineUIManager wasn't updated, it's still passing a block ([:bar |]), which obviously doesn't understand #label:
The attached st files fix CommandLineUIManager to use a DummySystemProgressItem instead of a block.
There will be more refactoring of the entire system progress framework, but let's get it working, one step at a time.
N.B. The DummySystemProgressItem was temporarily placed in its own category to avoid making Morphic-Widgets dirty, which would be wiped out as the updates to 20119 are loaded
-- View this message in context: http://forum.world.st/Pharo-2-0-Jenkins-build-failing-tp4634306p4634339.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.