Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Bug witjh plugin Sc...
 
Notifications
Clear all

Bug witjh plugin ScreenCustomisation

5 Posts
2 Users
0 Reactions
2,478 Views
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 
[#3942]

Hello,

I use the plugin ScreenCustomisation with ProjeQtor 6.0.2.

I have a proble with customisation of screen "Ticket (simple).

I select the fields I don't want to see but when I want to save the change, Projeqtor tell me "Nothing change to save" and don't take into account my modification.

It's the same for all the fields, or if I select only one, or two, or many.

I can reproduce that on my test environnement too.

Maybe a bug ? Or I do something wrong ?


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 16 Dec 2016 13H44
(@babynus)
Posts: 14952
Member Admin
 

Could you show print screen of what you try to do ?


 
Posted : 16 Dec 2016 13H53
Damien
(@dnaton)
Posts: 248
Active Member
Topic starter
 

Here is it

I go to plugin ScreenCustomisation and select "Ticket simple" in the list

In this screnn, I select the fields I don't want to see

And I click on

to save.

At this point, I have this message in french : "Aucune modification à sauvegarder pour ce champ".

Dans la console de message, je ne vois effectivement rien apparaitre, et rien non plus dans le fichier de log (Dans le menu Administration)


Regards,
Damien
-----------------------------------------------
.
ProjeQtOr v12.1.0 - Apache v2.4.56 - MariaDB v10.4.28 - PHP v8.2.4
Plugins installed : PersonalizedTranslation 1.6 - ScreenCustomization 7.2

 
Posted : 16 Dec 2016 14H01
(@babynus)
Posts: 14952
Member Admin
 

Issue confirmed and recorded as Ticket #2454


 
Posted : 19 Dec 2016 22H20
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Fix is on standard version, not on plugin 😉

On /model/persistence/SqlElement.php, add one line after 4526, from

	public function getExtraHiddenFields($newType="", $newStatus="", $newProfile="") {
	  $class=get_class($this);
	  $typeFld='id'.$class."Type";
	  $list=self::getExtraHiddenFieldsFullList();

to

	public function getExtraHiddenFields($newType="", $newStatus="", $newProfile="") {
	  $class=get_class($this);
	  $typeFld='id'.$class."Type";
	  if ($class=='TicketSimple') $typeFld='idTicketType';
	  $list=self::getExtraHiddenFieldsFullList();

Fix will be included in next patch/version.


 
Posted : 20 Dec 2016 1H40
Share:

Scroll to Top