blog icon indicating copy to clipboard operation
blog copied to clipboard

Storage folder ID (storagePid) gets deleted in Constant Editor

Open dusk-p opened this issue 4 years ago • 2 comments

Bug Report

Prerequisites

  • [ ] Can you reproduce the problem on TYPO3 v9.5 LTS
  • [X] Can you reproduce the problem on TYPO3 v10.4 LTS
  • [ ] Can you reproduce the problem on TYPO3 v11.x
  • [X] Did you perform a cursory search to see if your bug or feature is already reported?

Description

Our blog posts are stored in different folders for each year. I'm able to configure the field Storage folder (plugin.tx_blog.settings.storagePid) with different folder IDs. e.g. in "Edit the whole template record" like plugin.tx_blog.settings.storagePid = 58,278,349 But when I switch into the Constant Editor for the Blog extension "Typo3 Blog", the information in the field Storage folder is cleared. Probably the field allows only one numeric ID and no comma-separated string.

Steps to Reproduce

  1. Click on Template
  2. In Constant Editor, choose "Typo3 Blog" and insert more than one folder ID in the field Storage folder like 111,222,333
  3. Click Save

Expected behavior: all comma-separated folder IDs will be stored in field Storage folder like in the Info/Modify section "Edit the whole template record"

Actual behavior: After Save, the field Storage folder is empty

Versions 10.0.0

You can get this information from executing composer show at the command line if your TYPO3 installation is composer based, otherwise the version number will be shown in the extension manager.

dusk-p avatar Jun 21 '21 06:06 dusk-p

i guess this is because of the type=int+ in the constants

helsner avatar Jun 21 '21 09:06 helsner

In typo3conf/ext/blog/Configuration/TCA/Overrides/pages.php we have multiple usages of ###PAGE_TSCONFIG_ID### (version from current master in git) which is deprecated. Thus I wasn't able to choose any authors or tags for a blog pagetype page. Maybe this is related and has to be rewritten anyways? Not working in v10 and v11 for me.

raphaelweber avatar Nov 01 '21 14:11 raphaelweber