Problem with dateField after upgrade to 7.2.11

Hi support

I have made an upgrade to the newest verision from 7.1
After the upgrade, it seems that all dateFields in my browser view are no more visible.
The field is still there, but the date is not set and there is no content in this field.

I had the same issue on the edit view, but there I could solve it with setting a format for the date.

Could you help me here?

Thomas

Hi!
Could you please provide more information about your problem and if it is possible, attached a small project that reproduced it?

Regards,
Elena

cuba_error_1 Hi Elena

I have just my actual project with that issue. New created project with the newest version do not contain this issue.

It’s about the dateField empl_start and empl_end. I have got some date in the database for this fields, data container clean connected to data as all other fields have data in the web browser. It’s just about this date Fields. When I start the web server and go to that page, there is no data in field empl_start and empl_end.

Hi!
If it is possible, could you share the xml file of your screen?

Regards,
Elena

Archiv 2.zip (3.9 KB)

Sure, thanks for help

Unfortunately, we cannot reproduce the problem on demo projects. The only way to find out the problem is to investigate it in your project. Try to debug your code to investigate the problem.

Regards,
Elena

Is it possible for you that we can plan a remote session with a developer of you directly on my project?

Thomas

Dear Thomas,
Sorry, but a remote session is not included in the free forum support. If you need a fast response or personal assistance, we provide commercial support, too. The conditions are described here.

Commercial support is provided via a personal category. Once you have a question, just post it to this category, and it will be answered by the engineer. You can also request a remote session. The team is available on business days i.e. Monday to Friday (except national holidays). It usually takes a few hours to answer, but no longer than 8 business hours.
Thanks for understanding.

Regards,
Natalia.

Hi Natalia

We’ve got a commercial license in our enterprice already.
Bur I did nor knew how to open a support case there…

Could you help me with that and move this topic to a official support case?

The license key is under stefan.luder@basis06.ch

Thanks
Thomas

Let me clear this out to avoid further misunderstanding. CUBA Studio commercial license and commercial support are not the same. Studio license does not provide commercial support, it only provides visual development tools. The commercial support is a separate service. Please check the conditions here.

Hi Natalia

Have you got any news here?

Thomas

Hi Thomas,
Sorry, what kind of news do you expect?

So is there nobody that can help me out here.
I have got serious issues after an upgrade to a newer version of your framework.

Do I have to expect that now for all updates or can you help me out here?

Thanks
Thomas

Hi @thomas.kiener1,

The information you have provided so far didn’t help to investigate the problem. Could you create a test project that reproduces the issue and send it over to us?

P.S. It would be also very useful to know what environment you work in: OS and web browser with version.

Regards,
Aleksey

Hi Aleksey

Ok, thanks for help.
I have added here my project with this issue.
(removed)

When you create a new ‘Mitarbeiter’ in Menu ‘Datenverwaltung’, there is no entry in the two dateFields ‘Eintritt’ and ‘Austritt’. Even when there is some data in it.

My current framework version is :
CUBA Studio 2020.2 (IntelliJ Edition)
Build #CS-202.7660.151, built on December 9, 2020
Runtime version: 11.0.8+10-b944.34 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.oUploading: CUBA.zip… .
macOS 10.16
GC: ParNew, ConcurrentMarkSweep
Memory: 1160M
Cores: 12
Non-Bundled Plugins: mobi.hsz.idea.gitignore

Platfrom Version is: 7.2.11

Thanks for help
Thomas

Hi Thomas!
Thank you for reporting the problem. We have created a GitHub issue.

Regards,
Elena

hi,

i also just took a look into this demo. Its kind of weird. First I saw the described behavior. Then i fiddled around a little bit with the deploy directory and finally removed it completely to have a clean slate. After that, it seemed to work fine.
2021-02-26 11.37.57

Also, the hot deployment in this demo does not seem to work correctly. Not sure if this is related to the cuba / studio version or to the demo itself.

@thomas.kiener1you should probably remove the demo from the forum once again as it is right now, because it contains crucial information from your subscription.

Cheers
Mario

1 Like

Hi Mario

Thanks for your reply.
I also removed the deploy folder and restarted the application. Bur unfortunately, I have the same issue again.

Do you removed just folder ‘deploy’ in the root path of your project?

Thomas

Hi Thomas!
I saw project you attached and found next string in modules/web/src/com/company/l2s/web/messages.properties:

dateFormat=

This key stores date formatting template in CUBA and has been overriden with empty string.
Cells in the table are empty because they formatted with empty template. Removing or specifiyng this property solves the problem.

It works in the editor because template has been specified manually:

<dateField id="empl_datestart" caption="Eintritt" property="empl_start"
                                               dateFormat="dd.MM.yyyy"/>

P.S. Also faced the problem with deploy, gradlew clean dropTomcat setupTomcat assemble deploy worked for me

Ou thanks. It seems that solves my problem.
I will do some further testings next week and give you feedback. But for this first view it seems to bo soled.

Thank you very much
Thomas