View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005604 | Composr | tickets | public | 2024-02-10 20:54 | 2024-02-11 04:22 |
Reporter | Adam Edington | Assigned To | Patrick Schmalstig | ||
Severity | Trivial-bug | ||||
Status | closed | Resolution | no change required | ||
Product Version | 10.0.45 | ||||
Fixed in Version | |||||
Summary | 0005604: Tickets language is hardcoded | ||||
Description | Searching for the text on the tickets page returns zero results in Admin Zone Using the translate/rephrase option from the footer dropdown doesn't show the text Changing the text in tickets.ini has no effect | ||||
Additional Information | You are starting a new support ticket. Support tickets allow you to post private requests to our support staff. Please try to make your ticket focus on a single issue – you can open as many as you like, and we'll be able to respond faster to individual tickets. Include any details that will be necessary for us to handle your request, such as system information, sample data, or any pertinent access details we would need. We will respond as quickly as possible. | ||||
Tags | No tags attached. | ||||
Time estimation (hours) | |||||
Sponsorship open | |||||
related to | 0005607 | assigned | Patrick Schmalstig | Allow configuration options set to their defaults to dynamically change when the default changes |
|
It is a config option. Setup > Configuration > Message Options > Support Tickets. |
|
Thanks for that, I couldn't find it and didn't expect it to be a config option (I thought I was quite familiar with all the options, clearly not). |
|
No worries, haha. I'm surprised the search didn't come up with it because it is a language string to set the default value. I'll have to look into that. |
|
Well changing the language string in tickets.ini didn't do anything for me, hence my suspicion it was hardcoded somewhere. I flushed my caches and everything :P |
|
That's because Composr reads in the value of the language string as the default config option... and if you previously saved that page, then the raw value got saved with the option, meaning it was no longer associated with the language string. Now that I think of it, this is probably not ideal. I might make an issue for v11... for every config option, if its value matches default, then blank the saved value out so it always reads in the default value instead (ideal for dynamically adjusting config options left to their default values when/if the default values change). |
|
"Now that I think of it, this is probably not ideal. I might make an issue for v11... for every config option, if its value matches default, then blank the saved value out so it always reads in the default value instead (ideal for dynamically adjusting config options left to their default values when/if the default values change)." It would need doing carefully. IIRC We have a field c_set, so you could set c_set=0 if it is just the same as the default. The actual value would still be copied in to the table as cached. You'd then need a new function that clears out cached values (values where c_set=0). You'd call that when lang files are edited. |
|
See 0005607 |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-10 20:54 | Adam Edington | New Issue | |
2024-02-10 20:55 | Adam Edington | Summary | Tickets language appears to be hardcoded => Tickets language is hardcoded |
2024-02-10 20:56 | Patrick Schmalstig | Note Added: 0008321 | |
2024-02-10 20:57 | Patrick Schmalstig | Note Edited: 0008321 | View Revisions |
2024-02-10 21:02 | Adam Edington | Note Added: 0008322 | |
2024-02-10 21:06 | Patrick Schmalstig | Note Added: 0008323 | |
2024-02-10 21:39 | Adam Edington | Note Added: 0008324 | |
2024-02-10 21:43 | Adam Edington | Note Edited: 0008324 | View Revisions |
2024-02-10 23:36 | Patrick Schmalstig | Note Added: 0008326 | |
2024-02-11 00:28 | Chris Graham | Note Added: 0008328 | |
2024-02-11 04:22 | Patrick Schmalstig | Assigned To | => Patrick Schmalstig |
2024-02-11 04:22 | Patrick Schmalstig | Status | non-assigned => closed |
2024-02-11 04:22 | Patrick Schmalstig | Resolution | open => no change required |
2024-02-11 04:22 | Patrick Schmalstig | Note Added: 0008330 | |
2024-02-11 04:22 | Patrick Schmalstig | Relationship added | related to 0005607 |