ErikOnBike / CodeParadise

Framework for developing web applications and Node.js applications using Smalltalk
MIT License
86 stars 9 forks source link

Avoid modifying a literal string for not raising ModificationForbidden error on Pharo 10 #18

Closed mumez closed 1 year ago

mumez commented 1 year ago

In Pharo 10, I found that we cannot open 'presentaion' example, because of ModificationForbidden error. 2023-02-09 15_00_43-C__Users_ume_Documents_Pharo_images_Pharo 10 0 - CodeParadise_Pharo 10 0 - CodeP

Literal strings are not modifyable in Pharo 10, so I slightly changed string replacement code in the presentation example. After the change, 'presentation' page is shown again! 2023-02-09 15_22_34-CodeParadise

ErikOnBike commented 1 year ago

Nice catch! Thanks for this PR.