Liferay ServicebuilderLiferay Servicebuilderhttps://liferay.dev/c/message_boards/find_thread?p_l_id=119785333&threadId=1215223762024-03-28T14:45:49Z2024-03-28T14:45:49ZRE: RE: Liferay ServicebuilderSebastian Wikholmhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215264632022-09-30T16:42:10Z2022-09-30T09:32:39Z<p>Ended up doing a clean install on the production server, these issues
seem to be fixed with that, but as usual others emerge.</p>
<p>The theme issue was resolvet with adding<br /> @import 'clay/cadmin-variables';</p>
<p>to _imports.scss</p>
<p> </p>Sebastian Wikholm2022-09-30T09:32:39ZRE: RE: Liferay ServicebuilderRussell Bohlhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215244632022-09-27T18:18:55Z2022-09-27T13:21:39Z<p>Okay, so you're developing for GA25, and now ithe service builder
code is working when you use GA25 in the workspace? If so, that's fine
for your use case. Expected, even.</p>
<p>However, the specific issue you saw when you used GA43, with
cloneWithOriginalValues, makes me nervous that something has regressed
in a later version of the worksopace plugin, because as I said, this
is an issue people had earlier. It was fixed in later workspace plugin
versions, so we'll have to keep an eye out for a regression there.</p>
<p>I don't know about the theme issue, sorry.</p>
<p> </p>Russell Bohl2022-09-27T13:21:39ZRE: RE: Liferay ServicebuilderSebastian Wikholmhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215243842022-09-27T12:48:09Z2022-09-27T05:54:54Z<p>I cant seem to get access to the community on slack.<br />
<br /> The DTD was the same as you have, as the service was built for
liferay 7.4GA1 (or else it was changed for me)<br />
<br /> I seem to have a lot of things working, i could not build
anything with the product version at 7.4GA43, but when i changed the
target to a lower version ie 7.4GA25 almost all started to work. But
one thing still not working; my custom theme. There seems to be
something missing with the clay stuff: </p>
<blockquote>
<p>Parsed /css/clay.scss in 26030ms<br /> Exception in thread
"main"
com.liferay.sass.compiler.jsass.internal.JSassCompilerException:
io.bit3.jsass.CompilationException: Error: Undefined variable:
"$cadmin-selector".<br /> on line 1 of
build/buildTheme/css/application/_drag_drop.scss<br /> from
line 10 of build/buildTheme/css/_application.scss<br /> from
line 9 of build/buildTheme/css/main.scss<br /> >>
html#{$cadmin-selector} {</p></blockquote>
<p>Again i assume that there is something refering to something that has
changed. Any simple way to update the theme to work with newer
versions of liferay? I thank you again for the help</p>Sebastian Wikholm2022-09-27T05:54:54ZRE: Liferay ServicebuilderRussell Bohlhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215236712022-09-26T15:54:11Z2022-09-26T14:53:05Z<p>Are you in the community slack? You can see some information about
this <a
href="https://liferay-community.slack.com/archives/C5H30KZ1A/p1647347018655979">here</a>.
Since I think you've already updated settings.gradle to use a new
workspace verions, I'm going to guess that your service.xml needs its
DTD reference updated. Something like</p>
<pre>
<code class="language-java"><!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 7.4.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_7_4_0.dtd"></code></pre>
<p> </p>Russell Bohl2022-09-26T14:53:05ZLiferay ServicebuilderSebastian Wikholmhttps://liferay.dev/c/message_boards/find_message?p_l_id=119785333&messageId=1215223752022-09-23T15:41:35Z2022-09-23T10:26:26Z<p>Im developing some portlets and have problems updating my
servicebuilder services on the production server.Im using Liferay IDE
3.9.3 on the development side and Liferay 7.4GA25 on the production
server. I have created CRUD functions for my Entities, I can create
new data, but when editing the whole server goes </p>
<h1>Http Status 500 - Internal Server Error</h1>
<p>After updating my classes i get the following errors:</p>
<p>
<strong>java.lang.NoSuchMethodError</strong></p>
<p>This even though they clearly are there<br />
<br /> Another error I get is:<br />
<br />
<strong>java.lang.AbstractMethodError: Receiver XXX does not define
or inherit an implementation of the resolved method abstract cloneWithOriginalValues()</strong>
<br />
<br /> I can not understand why this would happen. Again any help
would be really appreciated, thank you</p&