Search found 196 matches

by luis
Mon Dec 14, 2020 10:38 am
Forum: Cyclos 4 Communities
Topic: Accidentally currency deletion
Replies: 2
Views: 381

Re: Accidentally currency deletion

The currency and related data has been restored.
Please, verify the permissions (products), as it seems that the account with that currency was not assigned to any group via product.
If you have any other question, please, let us know.
by luis
Mon Dec 14, 2020 8:55 am
Forum: Cyclos 4 Communities
Topic: Accidentally currency deletion
Replies: 2
Views: 381

Re: Accidentally currency deletion

It should have never been possible to remove the currency, but there was a problem in the communities database.
We're working on restoring the data that was removed.
We'll let you know when it is done.
We apologize for this.
by luis
Thu Dec 03, 2020 8:25 am
Forum: Bug - problem reporting
Topic: Marketplace ad store - can't put price required
Replies: 6
Views: 263

Re: Marketplace ad store - can't put price required

Oh, now I realize.
You are required to set the currency also, otherwise the price is ignored.
Try passing the currency property with either the id or internal name of the currency,
by luis
Wed Dec 02, 2020 1:57 pm
Forum: Bug - problem reporting
Topic: Marketplace ad store - can't put price required
Replies: 6
Views: 263

Re: Marketplace ad store - can't put price required

You're missing the price property: { "name": "test", "price": 100.21, "description": "test", "categories": [ "4036693613920296808" ], "publicationPeriod": { "begin": "2020-12-02T15:28:17+01:00", "...
by luis
Tue Dec 01, 2020 2:03 pm
Forum: Bug - problem reporting
Topic: Marketplace ad store - can't put price required
Replies: 6
Views: 263

Re: Marketplace ad store - can't put price required

The data-for-new doesn't return a price, unless there would be a default price, which was never the case. It does, however, return a list of available currencies. Can you, please, share more details on the subject? Please, send in the exact parameters / request body / response body on both GET /api/...
by luis
Wed Sep 09, 2020 11:16 am
Forum: Installation & Configuration issues
Topic: Admin Login Require PIN - How Can I Set Login PIN from SSH?
Replies: 4
Views: 497

Re: Admin Login Require PIN - How Can I Set Login PIN from SSH?

So the problem is really that the access password of the global default configuration's main channel was changed. To fix it, run the following SQL: update channel_configurations set access_password_id = ( select p.id from password_types p where p.internal_name = 'login' ) where channel_id = ( select...
by luis
Wed Sep 02, 2020 1:41 pm
Forum: Bug - problem reporting
Topic: Search user : key words with an apostrophe '
Replies: 1
Views: 322

Re: Search user : key words with an apostrophe '

Many special characters are actually ignored and handled as spaces.
So, searching for 'tits is the same as tits.
Also, searching for p'tits is the same as p tits, which is the OR of either p or tits, ranking higher the matches with both of them.
by luis
Fri Jul 10, 2020 8:01 am
Forum: Scripting & Webservices issues
Topic: How can i write log entries by a script?
Replies: 5
Views: 2149

Re: How can i write log entries by a script?

Use the errorLogService.create method: https://documentation.cyclos.org/4.13/scripting-api-docs/org/cyclos/impl/messaging/ErrorLogServiceLocal.html#create-java.lang.String-java.lang.String-org.cyclos.entities.access.Channel-org.cyclos.entities.users.BasicUser- It has 4 parameters. The service / meth...
by luis
Mon Jul 06, 2020 4:37 pm
Forum: Scripting & Webservices issues
Topic: How can a script translate text?
Replies: 5
Views: 2048

Re: How can a script translate text?

You will need the https://documentation.cyclos.org/4.13/scripting-api-docs/org/cyclos/impl/contentmanagement/TranslationHandler.html available under translationHandler in scripts. All message keys are organized per 'submodule', and are static classes generated into a container class per module: http...
by luis
Mon Jul 06, 2020 11:47 am
Forum: Scripting & Webservices issues
Topic: How can a script translate text?
Replies: 5
Views: 2048

Re: How can a script translate text?

Cyclos has 2 kinds of translations: application translation and data translation. Application translation can translate "static" text used by the application, but is based on a set of predefined keys. It is not possible to define custom keys to translate. Data translation can translate dat...
by luis
Mon Jul 06, 2020 11:39 am
Forum: Scripting & Webservices issues
Topic: How can i write log entries by a script?
Replies: 5
Views: 2149

Re: How can i write log entries by a script?

By "log file of the corresponding network" you mean the services log? It is not possible to directly log to that file from script, it is very specific for logging service calls. To log in Tomcat's catalina.out, you can use Log4j2, like this: import org.apache.logging.log4j.LogManager def l...
by luis
Thu Jul 02, 2020 2:30 pm
Forum: Bug - problem reporting
Topic: Recurring Payments
Replies: 4
Views: 1817

Re: Recurring Payments

One of the changes in 4.13 is that scheduled payments menu now shows both scheduled payment installments and recurring payment occurrences. It is more important for users to known that an installment is due this week than to know that a recurring payment of 12 occurrences was performed 10 months ago...
by luis
Thu May 28, 2020 7:53 am
Forum: Scripting & Webservices issues
Topic: How to debug in Eclipse?
Replies: 7
Views: 2559

Re: How to debug in Eclipse?

"Module" is a concept that appeared in Java 9. Cyclos up to 4.13 is built in Java 8, which is a LTS (long term support). The current Java LTS is version 11, and it is planned that Cyclos 4.14, whose development should start soon, will switch to it. For now you do need to set version 8 in y...
by luis
Fri May 22, 2020 11:52 am
Forum: Scripting & Webservices issues
Topic: How to debug in Eclipse?
Replies: 7
Views: 2559

Re: How to debug in Eclipse?

If you follow the steps in the README, you actually won't see a place to select a main class. Instead, you'll right click the RunScript.groovy and select Run As > Groovy Script. The servlet-api JAR is really missing in the README. This will be fixed on 4.13. In the meantime, you can download it from...
by luis
Thu Feb 27, 2020 10:00 am
Forum: Bug - problem reporting
Topic: Problem when migrate storage to Amazon S3
Replies: 1
Views: 1419

Re: Problem when migrate storage to Amazon S3

The "ClassNotFoundException: javax.servlet.ServletContext" error indicates that the Tomcat jars haven't been included in your command. The instruction page says this: java -cp "WEB-INF/classes:../../lib/*:WEB-INF/lib/*:/path-to-tomcat/lib" \ org.cyclos.impl.storage.utils.StoredFi...