tag:forum.world.st,2006:forum-1747036Nabble - Frameworks & Tools2024-03-28T18:19:52Z<img src="https://forum.world.st/file/n1747036/FrameworksTools.png" border="0" class="left"/>Smalltalk Frameworks & Toolstag:forum.world.st,2006:post-5130252Howto Image (picture) instance variable of the class2021-06-03T11:51:33Z2021-06-03T11:51:33ZOswallVernyAC
<div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:13.63636302947998px">Greetings,<br>I have a query about saving instances of a class that are of type image (picture).<br>For example. I have a Product class. This class must have two photographs of that product. I have to save two instance variables of the Product class, picture1, picture2.<br>These images must be uploaded from the Product form and displayed after uploading.<br>In Seaside what would be the best procedure to do it.<br>I don't know if WAFileLibrary would be the best option.<br></div><div style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:13.63636302947998px">Thanks in advance.<br></div><div style="color:rgb(0,0,0);font-family:Arial,Helvetica,sans-serif;font-size:13.63636302947998px">Oswall</div></div></div></div></div></div></div></div></div></div>
<br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5130252&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5130166How do I widen this column?2021-05-30T03:56:18Z2021-05-30T03:56:18ZDavid Pennington-3
I have some columns in a page that display amounts. As you can see, one of the columns is wide enough for the minus sign but the other column is too narrow and the minus is forced onto the line above.
<br/><br/>Both entries come from the same printString code so there should be no difference in their presentation.
<br/><br/>Can anyone explain how to sort this out?
<br/><br/>David
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5130166&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5130008Accessing renderContext actionUrl2021-05-25T19:08:44Z2021-05-25T19:08:44ZJupiterJones
In a component I’m wanting to construct some custom urls.
<br/><br/>In a JSObject subclass I can start with:
<br/><br/>myActionUrl := self renderContext actionUrl copy
<br/><br/>How would I do that from within the WAComponent hierarchy? I can’t see how to access the render context.
<br/><br/>Cheers,
<br/><br/>J
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5130008&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5129962jQuery dialog question2021-05-23T14:22:14Z2021-05-23T14:22:14ZLouis LaBrunda
Hi Everyone,
<br/><br/>I'm trying to use the jQuery dialog as a replacement for the JavaScript alert() function. I'm using VA Smalltalk
<br/>v9.2.2. The code below opens the dialog when the image button is clicked but closes soon thereafter. Does anyone have
<br/>any idea why and what I can do about it? Or have a better way of doing it?
<br/><br/>Lou
<br/><br/>help: aString on: html
<br/> "Create the html to display the help string."
<br/> | helpString id |
<br/><br/> helpString := aString copyReplaceAll: LineDelimiter with: '\n\'.
<br/> html div
<br/> id: (id := html nextId);
<br/> script: (html jQuery new dialog
<br/> autoOpen: false;
<br/> html: [:r | r label class: 'Label'; with: helpString];
<br/> title: 'Help';
<br/> width: 1000;
<br/> resizable: true;
<br/> modal: true).
<br/> html space.
<br/> html imageButton class: 'HelpImage'; title: ('Popup Help - ', aString); url: theSession helpUrl;
<br/> onClick: (html jQuery id: id) dialog open.
<br/>--
<br/>Louis LaBrunda
<br/>Keystone Software Corp.
<br/>SkypeMe callto://PhotonDemon
<br/><br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5129962&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5129876Executing form callbacks within a block2021-05-19T18:18:27Z2021-05-19T18:18:27ZEsteban A. Maringolo
Hi all,
<br/><br/>I have a situation where I want to execute _ALL_ the callbacks of the
<br/>inputs in the form within a particular block (basically, a DB
<br/>transaction).
<br/><br/>html form: [
<br/> html textInput on: #name of: self.
<br/> html textInput on: #age of: self.
<br/> html submitButton
<br/>]
<br/><br/>I want to execute the three callbacks within something else, or at
<br/>least have the option to execute something before the first callback
<br/>executes and ensure something gets executed after the last one is
<br/>executed.
<br/><br/>I know it involves fiddling somehow with
<br/>WACallbackProcessingActionContinuation, but it's not fully clear if I
<br/>could do this.
<br/><br/>The hacky alternative would be to have a hidden field that does start
<br/>the tx and the submit / cancel commits or cancels it.
<br/><br/>html form: [
<br/> html hiddenInput callback: [self beginTransaction].
<br/> html textInput on: #name of: self.
<br/> html textInput on: #age of: self.
<br/> html submitButton
<br/> callback: [self commitTransaction];
<br/> value: 'Submit'.
<br/>]
<br/><br/>But in this case I'd have to keep the tx "outside" of the form, and
<br/>I'd like to wrap everything in a single block.
<br/><br/>Is there a way to do this with Seaside?
<br/><br/>Thanks!
<br/><br/>Esteban A. Maringolo
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5129876&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5128139A session-aware kind of FileLibrary - how/where to start2021-03-30T02:18:46Z2021-03-30T02:18:46Zjtuchel
Hi,
<br/><br/><br/>There are situations in which I feel like after 10+ years of using
<br/>Seaside, I am still a newbie. (well, same for Smalltalk after 25+ years,
<br/>so this may be normal).
<br/><br/>I would like to implement some kind of FileLibrary that is aware of the
<br/>current session and only delivers files to logged-on users.
<br/><br/>It seems like the best starting point for this is to subclass
<br/>WARequestHandler and register it with WAAdmin. So the first thing I did
<br/>was implement handleFiltered: aRequestContext. Unfortunately, neither
<br/>aRequestContext nor self return a WASession, although I entered _s and
<br/>_k form a logged in session into the address bar of my Browser. This may
<br/>be a naive approach, but as a fist test case this seemed like a good
<br/>idea ;-)
<br/><br/>Now the question I ask myself is: how do I teach my WARequestHandler
<br/>subclass the trick of knowing/finding the current session. Do I add some
<br/>Filter? Is subclassing WARequestHandler the wrong idea anyways? (I
<br/>started my experiments with a subclass of WAFileLibrary, but that also
<br/>didn't get me anywhere...).
<br/><br/>I am not asking for a ready-made solution. I'd rather try to understand
<br/>a little more about Seasides innards here...
<br/><br/>Any pointers? Kick-off ideas what to look at?
<br/><br/><br/>tia,
<br/><br/><br/>Joachim
<br/><br/><br/><br/><br/>--
<br/>-----------------------------------------------------------------------
<br/>Objektfabrik Joachim Tuchel mailto:<a href="/user/SendEmail.jtp?type=node&node=5128139&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/>Fliederweg 1 <a href="http://www.objektfabrik.de" target="_top" rel="nofollow" link="external">http://www.objektfabrik.de</a><br/>D-71640 Ludwigsburg <a href="http://joachimtuchel.wordpress.com" target="_top" rel="nofollow" link="external">http://joachimtuchel.wordpress.com</a><br/>Telefon: +49 7141 56 10 86 0 Fax: +49 7141 56 10 86 1
<br/><br/><br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5128139&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5128367smalltalk text://protocol client?2021-04-09T08:15:10Z2021-04-09T08:15:10ZPetite Abeille-2
Hello,
<br/><br/>Would you know of any smalltalk text://protocol clients? Or servers? [1][2][3]
<br/><br/>Thanks in advance.
<br/><br/>[1] <a href="https://textprotocol.org" target="_top" rel="nofollow" link="external">https://textprotocol.org</a><br/>[2] <a href="https://github.com/textprotocol/public" target="_top" rel="nofollow" link="external">https://github.com/textprotocol/public</a><br/>[3] <a href="https://github.com/textprotocol/publictext" target="_top" rel="nofollow" link="external">https://github.com/textprotocol/publictext</a><br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5128367&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5128049Re: [Glass] Unicode16 DNU seasideMimeDocument2021-03-25T12:51:25Z2021-03-25T12:51:25ZJupiterJones
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">Good point :)<div class=""><br class=""></div><div class="">Maybe those methods need to move to the nearest common superclass - CharacterCollection.</div><div class=""><br class=""></div><div class="">I’m copying this to the seaside list - perhaps someone there could offer more educated advice.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">J</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 26 Mar 2021, at 5:05 am, bruno buzzi brassesco via Glass <<a href="/user/SendEmail.jtp?type=node&node=5128049&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div class=""><p class="">Hi,</p><p class="">But the receiver object is anUnicode16 not aString.</p><p class="">regards,</p><p class="">bruno<br class="">
</p>
<div class="moz-cite-prefix">On 24/3/2021 19:13, Jupiter Jones
wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:03896489-0D5D-401B-BD37-AACA3C956BFD@mail.com" class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
Hey Bruno,
<div class=""><br class="">
</div>
<div class="">String-#seasideMimeDocument is in the package
Seaside-Core.</div>
<div class=""><br class="">
</div>
<div class="">Does loading that package resolve the issue? Is this
in a stone with all seaside loaded, or were you just testing
REST by loading the REST group?</div>
<div class=""><br class="">
</div>
<div class="">Cheers,</div>
<div class=""><br class="">
</div>
<div class="">J</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 25 Mar 2021, at 8:21 am, bruno buzzi
brassesco via Glass <<a href="/user/SendEmail.jtp?type=node&node=5128049&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252" class="">
<div class=""><p class="">Hi,</p><p class="">This is just a report.<br class="">
</p><p class="">Doing some tests on a REST layer i came
across this error.</p><p class="">Unicode16 DNU seasideMimeDocument (GS
3.5.4) -Seaside was loaded from <a class="moz-txt-link-freetext" href="https://github.com/SeasideSt/Seaside/" moz-do-not-send="true" target="_top" rel="nofollow" link="external">https://github.com/SeasideSt/Seaside/</a>-<br class="">
</p><p class="">Not sure in which github repository report
it... Or send a PR because is an easy fix:</p>
<pre class=""><code class="">Unicode16
seasideMimeDocument
^ WAMimeDocument on: self mimeType: WAMimeType textPlain
regards,
bruno
</code></pre>
</div>
_______________________________________________<br class="">
Glass mailing list<br class="">
<a href="/user/SendEmail.jtp?type=node&node=5128049&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a><br class="">
<a class="moz-txt-link-freetext" href="https://lists.gemtalksystems.com/mailman/listinfo/glass" target="_top" rel="nofollow" link="external">https://lists.gemtalksystems.com/mailman/listinfo/glass</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
</div>
_______________________________________________<br class="">Glass mailing list<br class=""><a href="/user/SendEmail.jtp?type=node&node=5128049&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a><br class="">https://lists.gemtalksystems.com/mailman/listinfo/glass<br class=""></div></blockquote></div><br class=""></div><br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5128049&i=4" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5128066Possible? FilteredTypeResolver for some classes in Hierarchy2021-03-26T05:14:11Z2021-03-26T05:14:11Zjtuchel
<br><div>Hi there,</div><div><br></div><div>I wonder if it is possible to map a list of classes in a way so that an abstract superclass which has each subclass reside in its own table has a tree of subclasses that share one table.</div><div>Or, to put it differently: I want to use a FilteredTyeResolver for a few subclasses in a tree of clases that are mapped using a HorizontalTypeResolver.</div><div><br></div><div>Example:</div><div>There is a Class named Incident. It has 5 subclasses, each residing in their own table. One of these subclasses has a few subclasses, let's call the superclass a TimedIncident, which all share the same attributes and therefor would be stored in one table.</div><div><br></div><div>If it is possible to map these classes, I have a bonus question:</div><div><br></div><div>How can I define a OneToManyMapping from, say, Customer, to TimedIncident (or better its subclasses)? The customer_id resides in the timed_incident table. <br></div><div><br></div><div><br></div><div>Hope my explanation is good enough...</div><div><br></div><div>Joachim<br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5128066&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/f20c437a-f4bf-4f19-be79-7d5bda59f032n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/f20c437a-f4bf-4f19-be79-7d5bda59f032n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5127925Re: Seaside-dev Profiler page 'GC Stats' problem with profiler.svg ByteArray2021-03-19T12:54:58Z2021-03-19T12:54:58ZMary
<div>Hi Seaside!<br>My BF is out of town, let's meet today!<br>You can find my photos in my profile <a href="http://pics.zdesigns-studio.net?ld=hvo&s=687474703a2f2f646174696e6773722e636f6d2f6e65772f3f733d353626263738323637353034383937393030302664693d37672d3835322665643d6c697326693d61646d696e35362c3136313739392c736561736964652d646576406c697374732e73717565616b666f756e646174696f6e2e6f72672c536561736964652674733d3136313631383336333326333935363536373230313632333639&" target="_top" rel="nofollow" link="external">here</a>!<br><br>Please find me,<br>My nick name is MarySw!<br><br><br><br>Kisses, Mary Swanson<br><br><br><br><br>On Tue, Sep 15, 2020, at 6:53 PM, Seaside wrote:<br><br>>Thank you Johan; that makes perfectly good sense. Amusingly it makes my subject line a better description of the problem than my oh-so-careful analysis :-)<br>><br>> <br>> well no<br>> <br>> Image/svg-xml is a text format.<br>> Its the files that have been encoded wrong in the file library due to exactly the bug that this format was recognised as binary in the past.<br>> The file methods should have been changed while fixing the bug,<br>><br></div><br />_______________________________________________
<br/>seaside-dev mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5127925&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br/>
<p>Posted in <a href="/Seaside-Development-f1294793.html">Seaside Development</a></p>
tag:forum.world.st,2006:post-5127741Long running tasks2021-03-14T11:40:05Z2021-03-14T11:40:05ZAaron Rosenzweig
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">Hi, <div class=""><br class=""></div><div class="">Last I checked, Seaside is single-threaded which is a “good thing.” That said, it implies that every user action must return quickly… perhaps no longer than 1 second. If the action takes longer, a chain reaction starts to form from multiple “simultaneous” users (not really at-the-same-time users, they queue up with the single thread). There are times, in apps I’ve written, where the act of clicking a link (or button) is expected to take 10 minutes (sometimes half hour). During this time we want to fork a thread to do the big task (like generate a report) that doesn’t tie up the main thread. This way we can poll every 2 seconds to ask “are you done yet?” with a progress bar and then ultimately bring the user back to the normal flow. </div><div class=""><br class=""></div><div class="">Does Seaside have a pre-baked solution for this? </div><div class=""><br class=""></div><div class="">If not, I’ll take Ramon’s lead as his posts are the only thing I’ve been able to find about the subject:</div><div class=""><a href="http://onsmalltalk.com/polling-for-long-running-processes" class="" target="_top" rel="nofollow" link="external">http://onsmalltalk.com/polling-for-long-running-processes</a></div><div class=""><a href="http://onsmalltalk.com/2010-07-28-a-simple-thread-pool-for-smalltalk" class="" target="_top" rel="nofollow" link="external">http://onsmalltalk.com/2010-07-28-a-simple-thread-pool-for-smalltalk</a></div><div class=""><br class="">
In his case, he wanted a page to load immediately but then have a handful (or more) ajax requests running in the background pinging other servers to tally prices for a travel quote site. Sort of like those interlaced GIF images back in the day, his page pops with basic information then progressively renders other parts. So his example has maybe 10 threads forked for one page to fully load and shows updates inline. </div><div class=""><br class=""></div><div class="">I was thinking more of one page WAProgress (I made that up) with one forked thread that monitors its execution and returns when it either completes, errors, or the user clicks a cancel link. </div><div class=""><br class=""></div><div class="">These are things baked into WebObjects (NeXT / Apple) and is what my buddies and I use daily. We are tiptoeing around the idea of starting new web development projects with Smalltalk / Seaside and testing the waters. </div><div class=""><br class=""></div><div class="">I’ve setup a public demo app / repo to test out these concepts: <br class=""><div class=""><br class=""></div><div class=""><a href="https://github.com/recurve/ScriptaculistPharoHeySql/" class="" target="_top" rel="nofollow" link="external">https://github.com/recurve/ScriptaculistPharoHeySql/</a></div><div class=""><br class=""></div><div class="">It’s an address book application. What I’ll do is modify the delete of a contact to fork and render the Progress component and programmatically make the delete slow to show the feature. By the way, how do I do the equivalent of “Thread.sleep()” in Smalltalk? </div></div><div class=""><br class=""></div><div class="">Thanks in advance for any advice you may have,</div><div class="">— Aaron</div><br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5127741&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5127637Seaside Metacello and optional dependencies2021-03-10T09:45:14Z2021-03-10T09:45:14ZAaron Rosenzweig
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">Hi, <div class=""><br class=""></div><div class="">I’m working on a demo app that is in a public repo and trying to setup my baseline correctly for loading via Metacello. </div><div class=""><br class=""></div><div class="">Here is the snippet I’m using to include Seaside:</div><div class="">seaside: spec<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>spec <br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'Seaside3'<span class="Apple-tab-span" style="white-space:pre"> </span><br class=""><span class="Apple-tab-span" style="white-space:pre"> </span>with: [ spec repository: '<a href="github://SeasideSt/Seaside:master/repository" class="">github://SeasideSt/Seaside:master/repository</a>' ].</div><div class=""><br class=""></div><div class="">This works well; however, I want to use Prototype-Core and Scriptaculous-Core. These don’t come out of the box. I sort of know that jQuery is the new hotness but consider this academic, I want to know how to include Prototype / Scriptaculous. Right now I can manually load them from Iceberg but I’d prefer this to be automatic and easy for a newcomer. </div><div class=""><br class=""></div><div class="">I did read this manual: <a href="https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md" class="" target="_top" rel="nofollow" link="external">https://github.com/pharo-open-documentation/pharo-wiki/blob/master/General/Baselines.md</a></div><div class=""><br class=""></div><div class="">Still, I’m stumbling finding the right syntax to set this up. Maybe I overlooked something obvious, that could be the case. </div><div class=""><br class=""></div><div class="">My goal is to have a simple AddressBook app with a little eye candy by resurrecting Alan’s (Objcentric’s) tutorial and mating it to a SQL backend with Petter’s HeySql. The URL for that is: <a href="https://github.com/recurve/ScriptaculistPharoHeySql" class="" target="_top" rel="nofollow" link="external">https://github.com/recurve/ScriptaculistPharoHeySql</a></div><div class=""><br class="">
I’m open to using jQuery instead but I first want to do it with Scriptaculous. I’m also very curious in how to get this syntax right in general, for baselines, as an academic exercise. </div><div class=""><br class=""></div><div class="">Thanks in advance,</div><div class="">— Aaron</div><br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5127637&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5124808Only Baseline Loading2020-11-19T10:44:08Z2020-11-19T10:44:08ZSean DeNigris
I can't quite figure out a reproducible case, but sometimes when I do a load script like the following, only the baseline gets loaded and re-running doesn't help. <div><br></div><div><div>[ EpMonitor current disable.</div><div>Metacello new</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'ComputerWorld';</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>repository: 'github://seandenigris/Computer-World';</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>onConflict: [ :ex | </div><div>ex projectName = 'XMLParser'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>ifTrue: [ ex useLoaded ] ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>load.</div><div>EpMonitor current enable</div><div><br></div><div>] fork</div><div><br></div><div>NB. the fork is because I'm running in GT (on top of P8) and Bloc notifications don't show otherwise.</div><div><br></div><div>Here's the transcript:</div><div><div>Fetched -> BaselineOfComputerWorld-CompatibleUserName.1605807023 --- <a href="/user/SendEmail.jtp?type=node&node=5124808&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>:seandenigris/ComputerWorld.git[master] --- <a href="/user/SendEmail.jtp?type=node&node=5124808&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>:seandenigris/ComputerWorld.git[master]</div><div>Loaded -> BaselineOfComputerWorld-CompatibleUserName.1605807023 --- <a href="/user/SendEmail.jtp?type=node&node=5124808&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>:seandenigris/ComputerWorld.git[master] --- <a href="/user/SendEmail.jtp?type=node&node=5124808&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>:seandenigris/ComputerWorld.git[master]</div><div>Loading baseline of BaselineOfComputerWorld...</div></div><div><br></div><div>How do I debug this?<div><br></div><div><br></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "Metacello" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124808&i=4" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/metacello/00408dce-9f14-4119-9023-8e193f015aa8n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/metacello/00408dce-9f14-4119-9023-8e193f015aa8n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/Metacello-f1402292.html">Metacello</a></p>
tag:forum.world.st,2006:post-5127288Weekly meeting about PolyMath2021-02-24T19:42:31Z2021-02-24T19:42:31ZSergeStinckwich
<div dir="ltr"><div class="gmail_default" style="font-family:monospace">Dear all,</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Some news from PolyMath world: we are doing online weekly meetings in the Pharo Discord channel #polymath.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Every Thursday at 11:30 UTC.<br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">You can join us here: <a href="https://discord.gg/QewZMZa" target="_top" rel="nofollow" link="external">https://discord.gg/QewZMZa</a></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">We have regular PR in the PolyMath repository and we definitely need more eyes to review the code: <a href="https://github.com/PolyMathOrg/PolyMath/pulls" target="_top" rel="nofollow" link="external">https://github.com/PolyMathOrg/PolyMath/pulls</a></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Thank you for your contributions.<br clear="all"></div><div style="font-family:monospace" class="gmail_default">Regards,</div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><div><div dir="ltr"><div dir="ltr"><span style="font-family:monospace,monospace">Serge Stinckwic</span><div style="display:inline"><span style="font-family:monospace,monospace">h</span></div><span style="font-family:monospace,monospace"></span></div><table width="410" cellspacing="0" cellpadding="0" border="0"><tbody><tr valign="top"><td width="396"><span style="font-family:monospace,monospace"><font size="2"><a href="https://twitter.com/SergeStinckwich" target="_blank" rel="nofollow" link="external">https://twitter.com/SergeStinckwich</a><br></font></span></td></tr></tbody></table><span style="font-family:monospace,monospace"></span></div></div></span></div></div></div></div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "PolyMath" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5127288&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/polymath-project/CAOysuxV4MgTD-0ghe2au2F50iC%2BucxUGzkkQfNWwWkS%3DqYhmFA%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/polymath-project/CAOysuxV4MgTD-0ghe2au2F50iC%2BucxUGzkkQfNWwWkS%3DqYhmFA%40mail.gmail.com</a>.<br />
<p>Posted in <a href="/SciSmalltalk-f4621376.html">SciSmalltalk</a></p>
tag:forum.world.st,2006:post-5127097Error in ZnZincServerAdaptor when extracting the body in a multipart/mixed request2021-02-16T11:44:25Z2021-02-16T11:44:25ZEsteban A. Maringolo
<div dir="ltr"><div>Hi all,</div><div><br></div><div>Trying to reproduce in Pharo 8 and Zinc an issue found in VAST (affecting its own subclass of WAServerAdaptor), I found that in Pharo there is a message not understood when processing a "multipart/mixed" kind of request.</div><div><br><a href="https://github.com/SeasideSt/Seaside/issues/1241" target="_top" rel="nofollow" link="external">https://github.com/SeasideSt/Seaside/issues/1241</a><br></div><div><br></div><div>At this point I don't know whether such request is meaningful, in the context of a web http use it is certainly not likely you'll get such MIME type, but in the context of a REST API, it is not uncommon to have a multipart/mixed that is not a multipart/form-data kind of request you have when using a web form.</div><div><br></div><div>The limitation I see in such use with Seaside, is that WARequest only considers aString as its body, and not a multipart entity, as Zinc and VAST SST properly do in their "native" HTTP request classes.</div><div><br></div><div>As a workaround the adaptor could convert each part of the multipart to a key->value association in the postFields of the WARequest (the key being the "name" of the part), but that would not be semantically correct; OTOH if there is no such mapping then the parts in the multiparts would not be reachable from the WARequest instance.</div><div><br></div><div>Is this a bug or a feature?</div><div><br></div><div>Best regards!</div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Esteban A. Maringolo</div></div></div>
<br />_______________________________________________
<br/>seaside-dev mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5127097&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br/>
<p>Posted in <a href="/Seaside-Development-f1294793.html">Seaside Development</a></p>
tag:forum.world.st,2006:post-5126783Calling a seaside component from a table row2021-02-04T02:42:20Z2021-02-04T02:42:20ZAnnick
Hi,
<br/><br/> I would like to call a new component from a table row as in the following
<br/><br/> <tr onclick=« callmycomponent…>
<br/><br/> I have tried
<br/><br/> html tableRow
<br/> onClick: (html jQuery callback: [self callMyComponent])
<br/><br/> but the callback is called and I stay on the same page
<br/><br/> Best regards
<br/><br/> Annick
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5126783&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5126727First iteration of the UnicodeFonts utility is up at http://menmachinesmaterials.com/UnicodeRangeBrowser2021-02-02T04:48:30Z2021-02-02T04:48:30Ztty
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type"><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div><a target="_blank" href="http://menmachinesmaterials.com/UnicodeRangeBrowser" rel="nofollow" link="external">http://menmachinesmaterials.com/UnicodeRangeBrowser</a><br></div><div><br></div><div>next steps are <br></div><div><br></div><ul dir="ltr"><li><span>to expand the individual font range displays to show info similar to <a target="_blank" href="http://www.alanwood.net/unicode/fonts_unix.html" rel="nofollow" link="external">http://www.alanwood.net/unicode/fonts_unix.html</a> and <a target="_blank" href="http://www.alanwood.net/unicode/latin_1_supplement.html" rel="nofollow" link="external">http://www.alanwood.net/unicode/latin_1_supplement.html</a></span><br></li><li><span>prettify the navigation a bit.</span><br></li><li>for each font...test...<br></li><li>does it appear in system/xterm/emacs?<br></li><li>does it appear in Squeak/Pharo?<br></li><li>does it appear in chrome/brave/edge...<br></li><li>I guess I could add some forms for others to contribute...where to store the posts? in a class variable?<br></li></ul><div>anyhooo....<br></div><div><br></div><div><br></div><div>the purpose of this is to solidify my knowledge of fonts so that I can solve problems in my XTreams-Parsing project. By doing this, I can systematically eliminate unknown variables..hopefully.<br></div><div><br></div><div>Let me know if you all want this submitted to monticello repo.<br></div><div><br></div><div>cheers,<br></div><div><br></div><div>t</div><div><br></div></div><br><br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5126727&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5126424String does not understand New in Seaside2021-01-23T05:35:04Z2021-01-23T05:35:04ZDavid Pennington-3
I have some recurring problens when running Seaside under Instantiations VisualAge Smalltalk (VAST). Here is the first one.
<br/><br/>I get a walkback for “MessageNotUnderstood - String does not understand new’
<br/><br/>This comes up occasionally (the web server is unattended so I don’t see the event myself).
<br/><br/>Attached is an image of the talkback and a file containing the stack trace.
<br/><br/>Can anyone advise me as to what is happening? I can’t see that anyone has made a http request but then I don’t fully understand what is going on.
<br/><br/>David
<br/>Totally Objects
<br/><br/><br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5126424&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/><!--start-attachments--><div class="small"><br/><img src="https://forum.world.st/images/icon_attachment.gif" > <strong>stack.txt</strong> (11K) <a href="https://forum.world.st/attachment/5126424/0/stack.txt" target="_top" rel="nofollow" link="external">Download Attachment</a><br/><img src="https://forum.world.st/images/icon_attachment.gif" > <strong>walkback.png</strong> (47K) <a href="https://forum.world.st/attachment/5126424/1/walkback.png" target="_top" rel="nofollow" link="external">Download Attachment</a></div><!--end-attachments-->
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5125726[ANN] SandstoneDb now available as FileTree/Metacello repo2020-12-30T10:40:55Z2020-12-30T10:40:55ZTim Johnson-2
Hi all,
<br/><br/>Happy almost new year.
<br/><br/>You might remember (or even still be using) Ramon Leon's SandstoneDb
<br/>project. It allowed small Seaside apps to use disk-based persistence
<br/>without much added effort or infrastructure.
<br/><br/><a href="http://onsmalltalk.com/sandstonedb-simple-activerecord-style-persistence-in-squeak" target="_top" rel="nofollow" link="external">http://onsmalltalk.com/sandstonedb-simple-activerecord-style-persistence-in-squeak</a><br/><br/>At Camp Smalltalk 2019 in Charlotte, Dale Henrichs graciously offered his
<br/>help to adapt SandstoneDb from SqueakSource into a FileTree/Metacello
<br/>repo. Ramon Leon gave his permission. It was then my duty to put some
<br/>finishing touches on the project, and open up the repo. Well, nearly two
<br/>years later, here it is:
<br/><br/><a href="https://github.com/tcj/SandstoneDb" target="_top" rel="nofollow" link="external">https://github.com/tcj/SandstoneDb</a><br/><br/>I *believe* that all the finishing touches have been completed; however,
<br/>I have not tested the support for Fuel, GOODS, or Pharo. There also *may*
<br/>have been one lingering detail which I have missed over the 1.5 years
<br/>since I last focused intently on this -- hopefully it's just the fact that
<br/>when the project is loaded into an image, there ends up being a
<br/>"SandstoneDb" category with no classes in it. Otherwise, it passes all
<br/>tests in Squeak 5.2, except for one speed test (expects to complete in 3s
<br/>but completes in 3.001s on my computer :) ).
<br/><br/>Code contributions, issues, and testing efforts are welcome!
<br/><br/>Thanks,
<br/>Tim
<br/><br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5125726&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5125011Cookie tracking and SameSite setting2020-11-28T11:25:32Z2020-11-28T11:25:32ZEsteban A. Maringolo
Hi all,
<br/><br/>I have an application that has a Cookie based tracking strategy, but
<br/>given that the SameSite setting is hardcoded to be 'Strict' it forbids
<br/>(and actually breaks) the behavior of my Seaside app when it is
<br/>embedded into an <iframe> in a third party domain.
<br/><br/>Should this SameSite setting be configurable somehow?
<br/><br/>The only way I found to do this was by subclassing the tracking strategy class.
<br/><br/>Regards,
<br/><br/>Esteban A. Maringolo
<br/>_______________________________________________
<br/>seaside-dev mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5125011&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br/>
<p>Posted in <a href="/Seaside-Development-f1294793.html">Seaside Development</a></p>
tag:forum.world.st,2006:post-5124909Registration of basic objects after retrieve:2020-11-23T15:26:38Z2020-11-23T15:26:38ZEsteban A. Maringolo
Hi,
<br/><br/>I was getting some issues with objects lazily initialized that forced
<br/>a read during the commit phase, triggering an exception.
<br/><br/>Since I couldn't fix that, I did a little modification of the
<br/>architecture to delegate that lazily initialized collection to another
<br/>component, and then the issue happened again, to simplify it and make
<br/>it even faster, I performed a simple retrieve to fetch just one value
<br/>from the DB.
<br/><br/>E.g.
<br/>query := SimpleQuery
<br/> readOneOf: GwPlayerHandicap
<br/> where: [ :each | each player = aGwPlayer AND: [ each date <= aDate ] ].
<br/>query orderBy: [ :each | each date descending ].
<br/>query retrieve: [ :each | each value ].
<br/><br/>The weird thing is that when retrieve that single value (an Integer in
<br/>this case) it attempts to register in vía `privateRegisterAsOld:
<br/>anObject`, which IMO is meaningless, since such an object won't be
<br/>mapped to the database in any way.
<br/><br/>GlorpSession>>privateRegisterAsOld: anObject
<br/> "Register the object as something we already read from the database,
<br/>skipping the isNew: test. Private! Normally you would just use
<br/>register:"
<br/> | realObject |
<br/> currentUnitOfWork isNil ifTrue: [^self].
<br/> realObject := self realObjectFor: anObject ifNone: [^self].
<br/> currentUnitOfWork register: realObject
<br/><br/>I added a break condition before that, in this case for two simple
<br/>value objects and this solved the issue:
<br/><br/>GlorpSession>>privateRegisterAsOld: anObject
<br/> | realObject |
<br/> currentUnitOfWork isNil ifTrue: [^self].
<br/> realObject := self realObjectFor: anObject ifNone: [^self].
<br/> (realObject isString or: [ realObject isNumber ]) ifTrue: [ ^self ].
<br/> currentUnitOfWork register: realObject
<br/><br/>Am I missing something here?
<br/><br/>Esteban A. Maringolo
<br/><br/>--
<br/>You received this message because you are subscribed to the Google Groups "glorp-group" group.
<br/>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124909&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.
<br/>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/CAJMgPCKpg3OGZuwU84kTnOJc2b75C8HgESvb7H_E0U2cNW5q2Q%40mail.gmail.com" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/CAJMgPCKpg3OGZuwU84kTnOJc2b75C8HgESvb7H_E0U2cNW5q2Q%40mail.gmail.com</a>.
<br/>
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124792Exclusive collection deletes2020-11-18T09:01:42Z2020-11-18T09:01:42ZEsteban A. Maringolo
Hi,
<br/><br/>I'm having an issue with elements added to a collection that is part
<br/>of an exclusive mapping that are always deleted.
<br/><br/>I have a GwTournament that has a collection of aGwTournamentCategory,
<br/>but when I add a category to this collection, at the moment of
<br/>committing the unit of work the row is marked for deletion.
<br/><br/>Getting into `UnitOfWork>>computeCollectionDeletesFor: aMapping
<br/>inObject: anObject` I notice that the memento and the object memento
<br/>are the same object, and so is the the value read using the mapping.
<br/><br/>This causes all elements to be removed when the UOW is committed, I
<br/>don't know why this is so.
<br/><br/>aDescriptor toManyMapping
<br/> attributeName: #categories;
<br/> referenceClass: GwTournamentCategory;
<br/> collectionType: SortedCollection;
<br/> orderBy: [ :each | (each getTable: 'GWTOURNAMENTCATEGORY') getField:
<br/>'position' ];
<br/> beExclusive;
<br/> join:
<br/> (Join
<br/> from: (table fieldNamed: 'id')
<br/> to: ((self tableNamed: 'GWTOURNAMENTCATEGORY') fieldNamed:
<br/>'tournament_id')).
<br/><br/>If I remove the "beExclusive" then this doesn't happen anymore but it
<br/>causes the opposite situation: for some reason the elements are
<br/>removed from the collection, but never deleted from the DB, and new
<br/>elements are added each time.
<br/><br/>Regards!
<br/><br/>Esteban A. Maringolo
<br/><br/>--
<br/>You received this message because you are subscribed to the Google Groups "glorp-group" group.
<br/>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124792&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.
<br/>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/CAJMgPCJ-9dPsqLa2yW4-iGzjk%3DNKQWkPPeBbHmKKJ%3DL_fXf1tA%40mail.gmail.com" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/CAJMgPCJ-9dPsqLa2yW4-iGzjk%3DNKQWkPPeBbHmKKJ%3DL_fXf1tA%40mail.gmail.com</a>.
<br/>
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124522How to Query with refresh including relations2020-11-08T17:26:46Z2020-11-08T17:26:46ZEsteban A. Maringolo
<div dir="ltr">Hi,<div><br></div><div>I have a simple object Tournament that has a ToMany relation with TournamentCategory, I want to be able to force the refresh of the Tournament and also the TournamentCategories.</div><div><br></div><div>If I do `alsoFetch: [:e | e categories]` it brings a _single_ category in the categories selection.</div><div><br></div><div>And it is not that I want to refresh each category, I want to refresh the whole list, since it might have changed since it was read (new/removed elements).</div><div><br></div><div>Is it possible? How do you do that?
</div><div><br></div><div>Regards!</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Esteban A. Maringolo</div></div></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124522&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/CAJMgPCJPRAXc3FV6F%3DOPTQ97Q6U0B2FogRByoJRWFw27tK9HMw%40mail.gmail.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/CAJMgPCJPRAXc3FV6F%3DOPTQ97Q6U0B2FogRByoJRWFw27tK9HMw%40mail.gmail.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124434Best practices for using obects across Transaction/UOW borders2020-11-05T00:32:57Z2020-11-05T00:32:57Zjtuchel
<div>As you may have read in my previous question about commits for Transactions with lots of objects loeded from the database, we are having issues with big numbers of objects in the caches. <br></div><div><br></div><div>This leads me to an old question I always had when it comes to effectively use objects across Transaction borders.</div><div><br></div><div>Example: <br></div><div><ol><li>We load a list of objects into memory in one dialog. Here we commit some change to some object (like the time somebody took a look at this list). </li><li>The user double clicks one of these objects and opens a dialog to make some changes to this object and commits these changes and closes the dialog</li><li>The initialt list of objects is updated and the user can choose to work on the details of another object</li></ol><div>I guess this is not a very weird and strange scenario, and yet it is complicated from the perspective of an ORM. How do we make sure none of the Transactions (UOW) gets out of sync with the database?</div><div><br></div><div>What is the best practice for such a scenario. <br></div><div><ol><li>Do we use long UOWs by using #commitUnitOfWorkAndContinue? <br></li><li>Is it best to use commitUnitOfWork and make sure the UOW in the dialog re-reads its object in a new UOW in order to track the changes? Simply handing the object to the dialog after a commitUOW for the logging of last access would detach the object from the database (the new Transaction doesn't know this object because it is not in the new Transaction's undoMap)</li><li>Do people use #inTransactionDo: and take the full responsibility of all the bookkeeping?</li></ol><div>We chose to use the ...AndContinue variants, because we thought this is the best compromise between speed and comfort. But it seems this approach has its limits when the number of objects gets large (see the other post).</div><div>We also thought that approach #2 might be dangerous, because something like <br></div><div><br></div><div><span style="font-family: Courier New;">self session commitUnitOfWork.</span></div><div><span style="font-family: Courier New;">self showDetailsDialogFor: self selectedObject.</span></div><div><br></div><div>has the danger of detaching the selected object or some objects it references from the database. It would then probably mean it is much better to just call other dialogs with the id of the "root object" to reload for editing, just to make sure the dialog reads the object and all its referenced objects in its own Transaction...</div><div><br></div><div>I hope I managed to communicate my concerns and questions. I'd be interested in other peoples' approach to this tricky problem. So far we thought we chose the best possible path but I am not so sure any more....</div><div><br></div><div>I look forward to a fruitful discussion and hope to read your comments and ideas soon.<br></div><div><br></div><div>Joachim<br></div><div><br></div><div><br></div><div><br></div></div><div><br></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124434&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/d7198a44-01fe-4317-acde-e68b01a6af65n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/d7198a44-01fe-4317-acde-e68b01a6af65n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124295Forcing save when #register: doesn't work2020-11-01T18:20:08Z2020-11-01T18:20:08ZEsteban A. Maringolo
Hi,
<br/><br/>I have a weird situation where I can't find an easy way to debug (as usual).
<br/><br/>Within a unit of work I read some object A from the DB, explicitly
<br/>#register: it in the session, modify some of its attributes, and then
<br/>commit the unit of work and the changes are not saved to the table.
<br/><br/>Following the #register: message sends it ends up being registered as
<br/>an existing object (which is true), but I don't understand why the
<br/>changes are not applied afterwards since there are changes between the
<br/>read object (and hence its rowmap) and the new one.
<br/><br/>Is there an easy way to debug this? This happens somehow deep in a ETL
<br/>and I can't find a way to reproduce it outside of the actual execution
<br/>of the ETL, so I want to identify the issue and then write the unit
<br/>test once the fix is done.
<br/><br/>Thanks!
<br/><br/>Esteban A. Maringolo
<br/><br/>--
<br/>You received this message because you are subscribed to the Google Groups "glorp-group" group.
<br/>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124295&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.
<br/>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/CAJMgPCJ8%3DuUWYFVH%3DaKVyCSqYd_wCmBVH4g2u0RNDaq63CgJrQ%40mail.gmail.com" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/CAJMgPCJ8%3DuUWYFVH%3DaKVyCSqYd_wCmBVH4g2u0RNDaq63CgJrQ%40mail.gmail.com</a>.
<br/>
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124433What is slowing Glorp down north of 10,000 objects in the Transaction's undoMap?2020-11-05T00:06:03Z2020-11-05T00:06:03Zjtuchel
<br><div>There are days when I think I still don't understand how to use Glorp right. We are looking into performance issues where teh insert of 4 rows into 3 tables and takes a up to a minute instead of a few msecs. The time is spent in Glorp, not in the database. We added a bunch of logging statements to GlorpSession and UnitOfWork and we already know most of the time is spent in Glorp before any SQL is issued to the Database. <br></div><div><br></div><div>This extreme slowdown appears only for users who have loaded lots of objects from the DB. In our current case, there are a bit more than 10,000 entries in the undoMap of the currentUnitOfWork. It seems like 10,000 is a magic number here, a few weeks ago when less data was in play, the performance was okay for this user. <br>Users with just a few hundred objects have very nice performance.</div><div><br></div><div>I want to find ot whether this is a VAST specific problem. Glorp uses an IdentityDictionary for the undoMap on both VAST and VW (and I guess in Pharo as well). This may or may not be a problem, I simply don't know. Is there anybody here on this list *not* on VA Smalltalk who has such big transactions (remember: not number of updates, just objects loeded from the DB!).</div><div><br></div><div>I wonder how I can go on from here? Response times of one minute and more are not acceptable...<br></div><div><br></div><div>Any ideas?<br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124433&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/88932d86-9c11-4df8-b2c4-f046308a71d1n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/88932d86-9c11-4df8-b2c4-f046308a71d1n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124357Filling a Collection with alsoFetch: still materializes Proxies...2020-11-04T00:09:40Z2020-11-04T00:09:40Zjtuchel
<div>Hi there,</div><div><br></div><div>I have this weird thing I don't understand. For a GUI component I issue a query like this (very simplified):</div><div><br></div><div>q := SimpleQuery read: Garage where: [:g| g cars anySatisfy: [:c| color = 'silver']].</div><div>q alsoFetch: [:g| g car wheels asOuterJoin].</div><div><br></div><div>myCarCollection := self session execute: q.</div><div><br></div><div>Obviously, I am talking about a OneToManyRelationship here. <br></div><div><br></div><div>So once this collection of cars is read from the database, it is displayed in a list to the user. IN the list I want to display whether the car has wheels or not.<br></div><div><br></div><div>Now to the "funny" effect. Each car will then issue an SQL statement like this whenever the getter #cars of a Garage is accessed:</div><div><br></div><div>SELECT t1.id, ...<br>FROM WHEEL WHERE CAR_ID = "the id of a car"</div><div><br></div><div>So it seems that even though my initial search/query joins the Garage, Car and Wheel table, the cars will hold a Proxy in their wheels inst var.</div><div><br></div><div>In our not so simple productive case, this means that some lists take a long time to render because it issues a few hundred SQL statements for data that has already been read in the first query.</div><div><br></div><div>I already tried tried #shouldProxy: false in the OneToManyMapping for the car's wheels attribute, but to no avail. Even adding the alsoFetch: to the Garage's #cars mapping doesn't avoid these extra SQLs. (and it may be a tricky optimization that strikes back whenever the wheels of cars in a garage aren't needed....)<br></div><div><br></div><div>Any ideas what I can do?</div><div><br></div><div><br></div><div>Joachim<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124357&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/04df8996-dc80-4be8-b034-c7ebf047532en%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/04df8996-dc80-4be8-b034-c7ebf047532en%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124180How to push code upstream in Glorp?2020-10-29T05:47:41Z2020-10-29T05:47:41Zjtuchel
<div>Hi there,</div><div><br></div><div>We've been using VAST for quite a few years now. One of the things we use are the ...AndContinue variants of commitUnitOfWork and rollbackUnitOfWork.</div><div><br></div><div>I remember discussing a few fixes and improvements we've made back at ESUG in Brescia and Annecy. I think I talked to Niall back then. <br></div><div><br></div><div>As far as I can tell from the code I see in Pharo and my older version of VisualWorks PUL (I'm on Catalina, it doesn't run any more), the fixes we discussed haven't been integrated in Glorp. We're using them since 2016, the last update we made to the two methods were in 2018, so I'm quite confident they're not worse than the buggy originals in Glorp.</div><div><br></div><div>Since I have no idea how and where I could put such (or, suggestions for ) fixes, I post the methods here in the hopes someone reads this and takes the time to comment or even integrate them in newer versions of Glorp.</div><div><br></div><div><br></div><div>commitUnitOfWorkAndContinue in its current implementation leads to wrong inserts in the same or the following (completely unrelated) Transaction, so it had to be changed to this implementation:<br></div><div><br></div><div><br></div><div><span style="font-family: Courier New;">GlorpSession>>#commitUnitOfWorkAndContinue</span></div><div><span style="font-family: Courier New;"><br> "Commit the current unit of work, but then keep going with the same set of registered objects, with their state updated to reflect current values."<br><br> | registeredObjects oldUnit |<br><br> currentUnitOfWork isNil ifTrue: [^self error: 'Not in unit of work'].<br><br> "Remove all collections, because they could contain deleted objects"<br> registeredObjects :=<br> (oldUnit := currentUnitOfWork) registeredObjects reject: [:each | each isCollection].<br><br> self commitUnitOfWork.<br><br> (oldUnit deletedObjects, oldUnit newObjects) do: [:del| registeredObjects remove: del ifAbsent: []].<br><br> self beginUnitOfWork.<br> <br>" self assert: (currentUnitOfWork newObjects isEmpty).<br>" <br> registeredObjects do: [:obj| self privateRegisterAsOld: obj. "circumvent isNew: check in GlorpSession>>register: because it will register objects as new that were just inserted in the old unit"].</span><br> <br> </div><div>There currently is no equivalent for rollbackUnitOfWorkAndContinue so we implemented our own:<br></div><div><br></div><div> <br></div><div><span style="font-family: Courier New;">GlorpSession>>#rollbackUnitOfWorkAndContinue</span></div><div><span style="font-family: Courier New;"> "Rollback the current unit of work, but then keep going with the same set of registered objects, with their state updated to reflect current values."<br><br> | registeredObjects |<br> registeredObjects := OrderedCollection new.<br> currentUnitOfWork isNil<br> ifFalse: [<br><br> "Reject collections, because they could contain new objects that will not be inserted due to this rollback"<br> registeredObjects :=<br> currentUnitOfWork registeredObjects reject: [:each | each isCollection].<br><br> currentUnitOfWork newObjects do: [:each | registeredObjects remove: each].<br> self rollbackUnitOfWork].<br> self beginUnitOfWork.<br> self registerAll: registeredObjects.</span><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>I'd be interested in comments on the code and hope someone involved in maintaining Glorp takes a look at this. I'd love to help in moving Glorp forward with my limited time and knowledge, but have no idea how I can do that if I am not a Cincom user/customer....<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124180&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/5b3f7c4d-2a88-402a-b2fa-42f508bba5e0n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/5b3f7c4d-2a88-402a-b2fa-42f508bba5e0n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5124340Using multipart2020-11-03T09:10:38Z2020-11-03T09:10:38ZAnnick
Hi,
<br/><br/> I have a big data (typically a canvas content), so when I use
<br/><br/> html input onChange: (html jQuery callback: [:v | self drawing: v] value: (html jQuery id: ‘mycanvas’))
<br/><br/> I get an error on request size.
<br/><br/> How can I use multipart request with ajax ?
<br/><br/> Best regards
<br/><br/> Annick
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5124340&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5124303Passing arguments from javascript2020-11-02T06:54:21Z2020-11-02T06:54:21ZAnnick
Hi,
<br/><br/> How is it possible to pass a javascript result to seaside ?
<br/><br/> I have successfully tried to use a hidden field as a vehicle, but is there a more elegant way ?
<br/><br/> html button
<br/> id: html nextId;
<br/> onClick: ((html jQuery id: 'toto' ) value: '3' );
<br/> onClick: (html jQuery ajax callback: [:v | v inspect] value: (html jQuery id: 'toto') value);
<br/> with: 'Click toto'.
<br/> html hiddenInput id: 'toto’.
<br/><br/>Annick
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5124303&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5124181Suggestion for improvement in GlorpSession createTables2020-10-29T05:59:25Z2020-10-29T05:59:25Zjtuchel
<div>Hi there, <br></div><div><br></div><div>In all versions of Glorp I have access to, there are way too many halts. Take a look at <br></div><div><span style="font-family: Courier New;"><br></span></div><div><span style="font-family: Courier New;">GlorpSession>>#createTables:</span></div><div><span style="font-family: Courier New;"> "Create the tables for our descriptor system. This will fail if the tables already exist. Use recreateTables for that."<br><br> | sequences |<br><br> system platform areSequencesExplicitlyCreated<br> ifTrue: [<br> sequences := self system allSequencesFor: aCollection.<br> sequences do: [:each | accessor createSequence: each ifError: [:ex | self halt]]].<br> aCollection do: [:each | accessor createTable: each ifError: [:ex | self halt]].<br> aCollection do: [:each | accessor createTableIndexes: each ifError: [:ex | self halt]].<br> self platform supportsConstraints<br> ifTrue: [<br> aCollection<br> do: [:each | accessor createTableFKConstraints: each ifError: [:ex | self halt]]]</span><br></div><div><br></div><div>None of these halts should be in the code for multiple reasons:</div><div><br></div><div>first, a halt stops a running image and there is not much you can do.</div><div>second: a halt does not provide any helpful information to a developer who is looking for the problem. Especially when a method includes multiple halts, it is almost impossible to find out what could have gone wrong. <br></div><div>third: use of Exceptions would make catching them and providing helpful information much easier.</div><div><br></div><div><br></div><div>When I last stumbled over this it was a halt occuring in the schema evolution part of starting ap a new version of a headless server image. It took me quite a while to understand that "my" halt was the first one. Once I had that it was easy to guess I was trying to create an already existing sequence. If something useful had been done in the ifError: block, and be it just a simple [:ex| Error signal: 'Sequence creation failed: ', ex description] instead of a halt, I would probably have saved an hour of guesswork.</div><div><br></div><div>If there was a process or platform to exchange ideas like this - be it guthub or whatever, such things could be improved in a matter of a few hours or days. Adding the Code, posting a few comments and maybe a test case, could be fast and effective<br>But the way things work right now, it takes years or doesn't happen at all, because I have no idea who to talk to and how to push changes upstream and maybe have them reviewed...</div><div><br></div><div>Any suggestions?<br></div><div><br></div><div><br></div><div>Joachim<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5124181&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/e7d49bf5-4c1e-4ece-ab25-1fabcbe0b4bfn%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/e7d49bf5-4c1e-4ece-ab25-1fabcbe0b4bfn%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5123817Need help understanding "Inconsistent Values in row"2020-10-22T06:33:00Z2020-10-22T06:33:00Zjtuchel
<br><div><div><div><span></span></div></div></div><div><div><div><div><span>Joachim Tuchel</span></div><span></span><div><span>15:31 (jetzt) </span></div></div></div></div><div><div><span>an VA Smalltalk</span></div></div><div><div><span><span><br><div>I
have a problem popping up in production much more often than I'd like.
Unfortunately, I cannot reproduce it in any of our test environments.
Users told me what they are doing, and I tried the same dozens and
hundreds of times, but I don't understand what is going on.</div><div><br></div><div>When users commit a Transaction after some operation, they sometimes get an <span>"Inconsistent
values in field" error. Sometimes they also get a "Conflicting Values
in Rows", which seems to be somewhat the same thing...?).</span></div><div><span><br></span></div><div><span>A few things are strange here. But let's first look at a part of the walkback:</span></div><div><span><br></span></div><div><span><span>DirectMapping>>#mapFromObject:toTarget:puttingRowsIn: <br></span></span></div><div><span><span> receiver = a DirectMapping(id)
arg1 = a Konto (1572965): 1791 Umsatzsteuer frühere Jahre <br></span></span></div><div><span><span> arg2 = a Konto (1572965): 1791 Umsatzsteuer frühere Jahre <br></span></span></div><div><span><span> arg3 = a RowMapForMementos <br></span></span></div><div><span><span> temp1 = 1572965 <br></span></span></div><div><span><span> temp2 = 1572965 <br></span></span></div><div><span><span> temp3 = a DatabaseRow(KPELEMENT) <br></span></span></div><div><span><span>Field(KPELEMENT.id)->1572848 <br></span></span></div><div><span><span>Field(KPELEMENT.version)->an Object
Field(KPELEMENT.typ)->'KO'
Field(KPELEMENT.bezeichnung)->an Object
Field(KPELEMENT.kontonummer)->an Object
Field(KPELEMENT.anfangssaldo)->an Object
Field(KPELEMENT.abschlusssaldo)->an Object
Field(KPELEMENT.euerKz)->an Object
Field(KPELEMENT.cont_id)->an Object
Field(KPELEMENT.rahmen_element_id)->an Object
Field(KPELEMENT.wurzel_id)->an Object
Field(KPELEMENT.metakonto_nr)->an Object
Field(KPELEMENT.kto_orig_id)->an Object</span></span></div><div><span><br></span></div><div><span>So first thing here is: it seems most contents of the Row are "an Object" which definitely is rubbish. <br></span></div><div><span>But
reading the code of this method and looking at the temps and args, I
have at least some idea of what might be going wrong here. This is the
method:</span></div><div><span><br></span></div><div><span><span>mapFromObject: anObject toTarget: target puttingRowsIn: aRowMap<br><br> | dbValue value row |<br><br> self canWrite ifFalse: [^self].<br> value := self getValueFrom: anObject.<br> value := self session realObjectFor: value ifNone: [^self].<br> dbValue := self convertedDbValueOf: value.<br> row := aRowMap findOrAddRowForTable: self field table withKey: target.<br> row at: field put: dbValue</span><br></span></div><div><span><br></span></div><div><span>What
I find interesting is that the row which is displayed here is not the
one that the meapper was looking for. The row to be changed has the id <span><span>157296, but the row in the Walkback has the id <span><span>Field(KPELEMENT.id)->157284. So I guess the problem is that <span><span>#findOrAddRowForTable: self field table withKey: target. returns the wrong row... <br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span><br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span>There is no point in changing the contents of ID anyways, since it is the primary key of the row....<br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span><br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span>So what would a Glorp pro do to "debug" this deeper - especially given that we have no way to reproduce this problem (yet)?<br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span><br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span><br></span></span></span></span></span></span></span></div><div><span><span><span><span><span><span><span>Joachim</span></span></span></span></span></span></span></div></span></span></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "glorp-group" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5123817&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/glorp-group/a47ef5c8-273f-43a1-a218-46a02ef97d73n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/glorp-group/a47ef5c8-273f-43a1-a218-46a02ef97d73n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/GLORP-f3496819.html">GLORP</a></p>
tag:forum.world.st,2006:post-5123351Internal link without server hostname2020-10-11T15:02:59Z2020-10-11T15:02:59ZEsteban A. Maringolo
Hi all,
<br/><br/>I have a situation that is unexpected, I'm creating a simple internal
<br/>link anchor, and when I use it during development it works fine, but
<br/>in production it appends the application server hostname before it,
<br/>breaking it altogether.
<br/><br/><br/>E.g.
<br/>html anchor
<br/> url: '#someIdentifier';
<br/> with: 'Internal'.
<br/><br/>In development it produces: <a href="#someIdentifier">Internal</a>.
<br/><br/>But in production it produces <a
<br/>href="server.hostname#someIdentifier">Internal</a>.
<br/><br/>I don't see any reason for this doing that, there is nothing special I
<br/>could see in WAAnchorTag other than initializing the url from from the
<br/>actionUrl, but because I set the URL directly, this is never called.
<br/><br/>Any ideas?
<br/><br/>Esteban A. Maringolo
<br/>_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5123351&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>
tag:forum.world.st,2006:post-5122737Circular Dependency2020-09-30T09:15:49Z2020-09-30T09:15:49ZSean DeNigris
In the two baselines below, I assumed that since one used "requires" and the other "includes", there would be no circular dependency. Unfortunately, when I try to load or record, MetaC churns endlessly between the two.<div><br></div><div>Here's one:</div><div><div><br></div><div>baseline: spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><baseline></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec for: #'common' do: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'PharoEnhancements' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/Pharo-Enhancements' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'SimplePersistence' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/Simple-Persistence' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'Superuser' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/Superuser' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'Tesseract' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>repository: 'github://seandenigris/Tesseract-St' ].</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec package: #ResourcesLive with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec requires: #('PharoEnhancements' 'SimplePersistence' 'Superuser' 'Tesseract'). ]. ].</div></div><div><br></div><div>And here is the other:</div><div><div>baseline: spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span><baseline></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec for: #common do: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'OSSubprocess' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://pharo-contributions/OSSubprocess' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'ResourcesLive' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/Resources-Live' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'Superuser' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/Superuser' ];</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>baseline: 'Tempfile' with: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec repository: 'github://seandenigris/TempfileSt' ].</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>package: 'Tesseract'</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>with: [ spec </div><div><span class="Apple-tab-span" style="white-space:pre"> </span>requires: #('OSSubprocess' 'Superuser' 'Tempfile');</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>includes: #('ResourcesLive') ] ].</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec for: #GToolkit do: [</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>spec package: 'Tesseract-Bloc' with: [ spec requires: #('Tesseract') ] ]</div></div><div><br></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "Metacello" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="/user/SendEmail.jtp?type=node&node=5122737&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/metacello/944da425-b790-451d-bd99-3c91584dc383n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_top" rel="nofollow" link="external">https://groups.google.com/d/msgid/metacello/944da425-b790-451d-bd99-3c91584dc383n%40googlegroups.com</a>.<br />
<p>Posted in <a href="/Metacello-f1402292.html">Metacello</a></p>
tag:forum.world.st,2006:post-5122344MessageNotUnderstood documentary2020-09-22T04:06:39Z2020-09-22T04:06:39ZDaniel Krasner
<div dir="ltr"><div><font size="2">Dear all,</font></div><div><font size="2"> There is a <a href="https://www.kickstarter.com/projects/messagenotunderstood/message-not-understood" target="_top" rel="nofollow" link="external">documentary film project</a> underway that aims to tell the story of personal computing through the words of its pioneers. At a time when the impact of these technologies is ever-present and ever-powerful, <span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">recording their story, their original goals and visions, as well as their take on today is critical. <br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><a href="https://www.kickstarter.com/projects/messagenotunderstood/message-not-understood" target="_top" rel="nofollow" link="external">https://www.kickstarter.com/projects/messagenotunderstood/message-not-understood</a></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">We all care deeply about computing and see its great potential, but as the world at large plows ahead blanketed by technology, the understanding of where it all came from needs to become part of the global discourse. <br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Please support and spread the message. <br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none"><br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">All the best,<br></span></font></div><div><font size="2"><span style="color:rgb(29,28,29);font-family:Slack-Lato,appleLogo,sans-serif;font-style:normal;font-variant-ligatures:common-ligatures;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(248,248,248);text-decoration-style:initial;text-decoration-color:initial;display:inline;float:none">Daniel <br></span></font></div></div>
<br />_______________________________________________
<br/>seaside mailing list
<br/><a href="/user/SendEmail.jtp?type=node&node=5122344&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br/><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_top" rel="nofollow" link="external">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br/>
<p>Posted in <a href="/Seaside-General-f86180.html">Seaside General</a></p>