Posts by FernandoLopes • 307 points
16 posts
-
0
votes1
answer270
viewsA: Angular 12, i18n scss fault
After a lot of searching, I found my error. In the file angular js. on the server in Configurations I added in pt the "Optimization":false and started running. "serve": { "builder":…
-
0
votes1
answer270
viewsQ: Angular 12, i18n scss fault
I’m trying to use a template I bought with internationalization, but I’m having problems when running the command ng server --conficuration=pt simply get errors in scss and Less files: ng serve…
-
0
votes1
answer44
viewsA: Mongodb.Drive fails to filter an Object Array with Elemmatch
After several attempts and errors, I discovered that when I removed the Idetail.Cs interface from Find and started using the Detail.Cs class, the query worked. getting the query this way: ... var…
-
0
votes1
answer44
viewsQ: Mongodb.Drive fails to filter an Object Array with Elemmatch
I have a document in mongoDB with this training: { "_id" : NumberLong(21), "_t" : "Detail", "DeletionDate" : null, "CreationDate" : null, "UpdateDate" : null, "Accounts" : [ { "Bank" : "123",…
-
0
votes2
answers284
viewsA: VS 2015 SOAP does not work, but in Soapui works normal
I was able to solve created a reverse proxy. the server responds to port 9443 with https, for some reason Windows 10 barred. Solution was to create a reverse proxy for the standard port 443 of https…
-
0
votes2
answers284
viewsQ: VS 2015 SOAP does not work, but in Soapui works normal
In the company there is a Service available through Webservice SOAP (IBM BPM). I can’t get an answer on VS 2015 using the Web Reference a connection with this service. I always get the answer after…
-
3
votes1
answer563
viewsQ: Sidekiq rails in production
I’m trying to put and produce an APP that uses Redis and Sidekiq to queue up. In development it works as follows. I run the command on the terminal: bundle exec sidekiq -q default I’ll keep it…
-
0
votes1
answer96
viewsA: Entity architecture in Rails
After studying the guide http://guides.rubyonrails.org/association_basics.html I solved the problem used the self Join. Now I was able to map the Clients of a broker and the Brokers of an Insurance…
ruby-on-railsanswered FernandoLopes 307 -
2
votes1
answer96
viewsQ: Entity architecture in Rails
I am in doubt about how it would be the best way to represent an entity named client that may have sub-layers of the same entity. Customer may own another Customer who is actually a carrier, and…
ruby-on-railsasked FernandoLopes 307 -
0
votes1
answer67
viewsA: Play Framework TDD exception testing routes
After researching a little better I found the solution to the problem. @Test public void TestandoLigacaoeRota(){ running(fakeApplication(inMemoryDatabase("test")), () -> { RequestBuilder request…
-
0
votes1
answer67
viewsQ: Play Framework TDD exception testing routes
I am studying the Play Framework with Java and in the documentation there is an example of route testing at the end of this page: Doc Play Framework But when trying to run the test he answers me…
-
1
votes1
answer143
viewsA: No compatible features when posting to Google Play
After many attempts I discovered the error. The problem was in this lib that is probably not compatible with Google terms. And I used it to generate a Base64 string. but then I figured out how to do…
-
1
votes1
answer143
viewsQ: No compatible features when posting to Google Play
I have a problem when it comes to publishing my App on google play. Do not appear compatible devices when sending the APK, and in development it worked normal on several mobile phones (Ex. Galaxy…
-
2
votes1
answer2863
viewsQ: Java how to do a native query and return to a DTO list
I am using Spring Hibernate and am trying to make a native query with Join back to a DTO list. I tried using @Query(value="", nativeQuery=true) with a List but it returns the serialized attributes.…
-
1
votes3
answers1117
viewsA: How to use Gesturedetector?
Try this (refactory): add the attribute: private GestureDetector gesto; later on onCreate use this code: CustomGestureDetector customGestureDetector = new CustomGestureDetector() gesto = new…
-
10
votes1
answer164
viewsQ: Good Practices (Refactoring) - Best way to treat one method with for within another
Personal using good Java practice how should I convert this method? I must break into various methods and within each of them do the go? public void salvarObjetos(Objeto objeto){ for(Objeto1 obj :…